Use Heroku API to run migrations

This addresses issue #13. Using the Heroku API directly instead of
making a system call to run the migrations solves my problem and seems
like the right way to handle migrations anyways.