Fixed: Ported XMLRPC Thermostat DerogateHeating functions to JSONRPC

Fix for [Thermostat Issue after upgrade to 1.0.018](https://domotiga.nl/boards/1/topics/4618). 
Ported relevant code from CXMLRPC.class to CJSONRPC.class.

Compiles fine, could not test it.