Refactor calculator and aggregator interfaces
Fix NPE, Jboss exception, Aggregator generic
Merge pull request #287 from kgribov/CalculatorAggregator

JFG-402 Add String, Double, etc custom metric