hipchat notify script, originally from: https://gist.github.com/srinivasmohan/2418848