sonian/sensu — pull request #160 by portertech (2011-12-23 19:29:03+00:00)
Title: [master-resignation] gracefull stop for server

- stop consuming keepalives and results
- if master, stop publishing check requests and monitoring for stale keepalives
- if master, resign as master