add test case

add stopFlag in Writer. if Stop() was called, ConnectToNSQ() will return error.
allow custom heartbeat interval setting when call NewWriter()
auto send IDENTIFY when call ConnectToNSQ()
add Publish()/MultiPublish() API to avoid use Writer()