diagjson
- user better function names

goapp
- add another hook which fires immediately when the heartbeat signal is received
- integrate new heartbeat hook into LoopHandler interface and default object

lifecycle
- close shutdown and wait channels instead of using buffered channels