Major refactor

- Improve security: add Heroku's ssh host key
- Improve performance: only install Heroku toolbelt if running command
- Improve readability: use functions