Bug 868770 - Fix homescreen test r=crdlc

* load only the app file being tested + mocks
* changed some mocks to achieve that
* added some more tests for DockManager