addressed issue https://github.com/globaleaks/GlobaLeaks/issues/761
added db support for https://github.com/globaleaks/GlobaLeaks/issues/885
finalized migration script