Addition of Checks API to agent

Adds check api to register, deregister and inspect node and service level checks with the agent. The status of TTL based checks can also be set.

Hadn't realized this was being checked. There were a large number of other pep8 errors and I'v addressed a good number of them, though the 80 character line length make it feel like coding on a postage stamp