For bug 886811 we need to send a custom restart type for some tests (mainly OSX restartChangeArchitecture tests) in controller.restartApplication()
The method should be able to receive a new argument with a custom restart type, and default to what it uses now.