fixed migration bugs and implemented migration for https://github.com/globaleaks/GlobaLeaks/issues/444
Merge branch 'master' of github.com:globaleaks/GLBackend