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.

I had been thinking to call these methods: ttl_pass, ttl_fail and ttl_warn