Try-catch blocks and debug messages changed
New aggregation methods added

- also MeterRecord.__repr__ edited
Added max, min, avg aggregations to REST_API