Merge pull request #84 from lakshmi-kannan/allow_selection_of_stats

Allow filtering of different stats via HTTP requests
- refactored selectStats into its own enum class.
Merge pull request #85 from ratanasv/refactor-stats-into-enum

Refactor stats into its own enum class
Refactor code in preparation for pre-rolled metrics support
Unit tests changes
Integration tests changes