first version of deployhook script. just writes all what it gets
just logs what hook sent in
remove hubot from deploy status route
receive github notifications and build the deployments stack
save the entire payload in the deployments stack
save just the notify object in the deployments stack
parse JSON in payload in order to build the deployments stack
use the parsed JSON payload to build the deployments stack
try to build the deployments stack with parsed 'notify'
try to build the deployments stack with already parsed 'notify'
try to build the deployments stack with the whole body
try to build the deployments stack with parsed deployment.payload.notify
build the deployments stack with extracted POJO from payload
add route for heroku hook and log payload
don't try to parse already parsed payload
use the entire body as payload
first try to send success message to chat room
close response stream right after the end of the method
start looking for deployments at lenght - 1
delete deployment from the stack after Heroku notifies success