Altering server heartbeat so our publish 'ticks' will be synchronized across multiple servers.

Changed heartbeat logic in canary gen_server, now calculates the next publish time, stores that value, and uses send_after to trigger a publish.
Added a new librato api implementation, now sets measure_time.