Added unittest optional flag parameter to ApplicationController and 
ApplicationView.  If set to true, the windows created will not be shown and
app.MainLoop() will not be called so it should work better in unit testing.