Add metrics reporting with statsd
Merge branch 'master' into phantom0.2