CDAP-484 User and System Metrics Gauge Support

Gauge support for User and System Metrics and updated Mapreduce Metrics Writer to use gauge

https://issues.cask.co/browse/CDAP-484
do you need to cast?