Fix #331 Now (Scala 2.10.x) XML can be used instead of String
Add metrics feature
Support cluster-wide metrics
Rebase