Commit
Remove unused
Track Singletons in QGCApplication

- allow unit tests to use QGCApplication
- clear global singletons for each unit test run
Mocks need QGCSingleton which does not register
Cleanup application object
Fix shutdown sequence
Merge pull request #1010 from DonLakeFlyer/Singleton

Singletons tracked by QGCApplication