Fixed some errors in the sensor template code, plus added a multiplier of 0.01 per request (for Chatsworth units).

Fixes #319
Committed SQL changes for assets.inc.php which will break the user rights, but what is in there currently makes queries on large installations run in excess of 20s.
Merge branch 'master' of https://github.com/samilliken/openDCIM
Merge remote-tracking branch 'upstream/master'