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'm simply saying that you check for script to not conflict with ttl, and ttl not to conflict with script, but you never check for both being missing :-).