fix(agent): tick machine/service heartbeats properly
feat(coreinit): gracefully shutdown on SIGINT/SIGTERM
feat(shutdown): purge registry when shutting down gracefully
refactor(agent): Log failure to remove self on Purge
Merge pull request #59 from bcwaldon/graceful-shutdown

Handle SIGINT/SIGTERM; remove machine proactively