Create DB Migration for Badgekit-api

In order to make easy maintenance of the badgeit-api project, it is important to be able to do database migration.  This pull request clones the db migration approach from openbadges for badgekit-api.  It had to be adapted to utilize environment variables for configuration rather than the config.json approach used with the other project.