refactored migration script as studied with @hellais
removed supports for DB version 0,1,2,3,4
Merge pull request #187 from globaleaks/refactor/db_migration

Refactor/db migration