update to hubot version 2

Hi, thanks for your code. 
I edited and got it working for hubot v.2 now.
tested my master branch, this branch (user-env-var) is alternative using environment.