This functionality can not be used together with wifi/charging settings.
By default, this is set so that syncthing is only active when requested,
and can be stopped by the user.
- added SyncthingServiceTest
- removed permanent notification from SyncthingService (didn't work with unit test)
- renamed TestContext to MockContext
- added MockRestApi
New tests:
RestApiTest
NodesAdapterTest
ReposAdapterTest
Refactored:
extracted PollWebGuiAvailableTask from SyncthingService
some changes in return values/calling behaviour for easier/better testing