Command line tool to convert sqlite to a 'real' database

I think it needs some more help/description what it does, but can't think of what to write.

@karlitschek @butonic @DeepDiver1975 @bantu @ringmaster