Fix database migrations for smart_manager

Add south_migrationhistory table manually in smartdb and populate it
with the first migration
Modify migration steps in buildout to specify the database that
migrations are to be performed against