Add db migrate rake task

Convert the migration script into a rake task for consistency with all the other apps, so that we can easily run it as part of deploys.
:person_frowning: