add test case, change Public API

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()
adjust log.Printf() output format