SQLite: Implement migrations SQL generator

(I'm looking for feedback on a few of the TODOs.)
It is currently used by the SqlServerDataStoreCreator. Why should it not be part of the contract?