Fix for heat not working, fixes for cooling and compressor based devices

Made a fix to get heating working again.  Also fixed the delay for cooling devices (was using hours, not minutes).  Made it so that if a delay was set that it defaults to a compressor device, which seems logical if a delay is set.  Also fixed initialization of cooling devices where cycle time wasn't getting set.  Added some logic to output devices so that if zero time is set for off / on time that it won't cycle the device unnecessarily (IE, if heat is set at 100, then don't turn the heat off for 0 seconds which does cause things to turn off briefly)