This allows use of compile time Object::connect syntax
- allow unit tests to use QGCApplication - clear global singletons for each unit test run
This allows us to create mock version of the objects to use for unit tests