Added moment.js
Sensor: removed last_value to sensor value attribute
Widget: sensor timeout detector (Closes #1825)