cleanups

correct a couple of problems with data type magic numbers, revert a
change to ChillhubDevice.cleanup(), add semicolons, etc. to pass jslint,
and decrease serialport discovery polling rate