merged heartbeat code into sprinkler, and added full support for __debug__ mode to sprinkler.py.  If you run python -O sprinkler.py, you don't need to have an arduino connected -- it'll send heartbeats and pull commands from the db, but it won't try to talk to an arduino