Added health check with suspension of service if it fails.  Basically check that heartbeat, commit and leaves update have happened withing given time frame.  If not, service is suspended by returning HTTP_SERVUNAVAIL (503) to any query.  main query table has a new column to reflect the health (1 good, 0 bad).  Can write alert based on it.  Also added a bunch of comments.