Added to_nsq tool - Addresses #304

Added a simple `to_nsq` tool that scans from `stdin` and publishes them.
Typical convention (and my personal preference) is for the *error* case to be handled first (and likely return) and the success case to remain un-indented (i.e. since the error case returns control there is no need for an `} else {`

I find this more readable.