added tests for ConfigService. added saving of config file.
Merge branch 'fileactors' of https://github.com/Docear/Sync into fileactors
fixed merging error.