go-nsq: add Writer API

Just want to simplify nsq write. maybe code is a bit ugly, you can judge merge or not.
thank you.