Added support for database migrations for MongoDB.
Migrators now implement common interface.