added map reduce to analytics apiController for metrics
Merge branch 'dev' of https://github.com/laroyo/CrowdTruth into dev