Metrics

This is the initial version of the metrics API @rcrichton  and @devcritter please take a look and tell me what you think
We should also check if the user is allowed to view this channel. If they are not we should return a 403 response.