Initial commit of fixed / updated code

Based on [gist](https://gist.github.com/1361085) by @glejeune

* added exit handler for cleaner end
* updated for newer ruby-mqtt gem
* fixed help text
* updated README