Correction string to numerical value casting

Fixed an issue caused if a whole number was passed as a float to
emonhub,
Merge remote-tracking branch 'origin/development' into emoncms_integration