Added command to set the thermostat mode.
Added debug option.
Added structure infomation to show command.
Thanks jsquyres for sending the fix.
Merge branch 'master' of git://github.com/RandyLevensalor/pynest

Fixed some minor conflicts in the merge.