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.
Updated the use the `vagrant` user which can connect via `localhost` on the dev VM