New commands: dbmigrate and cleanup

dbmigrate: Migrates databases.
cleanup: Cleans assets and cache.