Added moosecat/heartbeat.py

A class to calculate the currently elapsed seconds without pain.
Also added docs.
Integrated Heartbeat into bootup process & fixed bug when client was disconnected