adding service checks api

* Update AgentCheck to be able to collect and flush service check data
* Update the collector to read service check data from agent checks

Since this api is pretty minimal, I think we can shoot for including it with the next agent release.