Use specific settings for backend.

This way we get rid of Qt on the backend side.
The use of QSettings in the backend was breaking the app on OSX.
Apply changes removed rebasing pullreq #679.

https://github.com/leapcode/bitmask_client/pull/679/files
pep8 fixes