Added metrics middleware

Created a middleware that interfaces with statsd to collect request metrics