Update to use the Heroku Platform API gem

I grabbed what appeared to be the most up to date branch from the network, and have updated the gem to use the platform API as Heroku recommends, rather than the legacy API. I have also made the worker name configurable, which was my original intention, but it turned out that the old Heroku gem was making the tests awkward.