connection.sendMessage
generically wrap all emit events for websocket
better silence of takss when toAnnounce=false
Merge pull request #111 from mmadden/master

Fix hanging commas
credit
rename to api.webSocketServer; send server shutdown messages
change shutdown order to close servers and tasks first, then everything else; allow stats to be modified during shutdown
task and action generators now create more concicse file