Resolve eclipse warnings, mostly about closing app ctx in tests
Upgrade to metrics 3 rc1