Added metrics middleware

Created a middleware that interfaces with statsd to collect request metrics
While referring to hostname and request_method before they are defined in the code, below, works due to the way Python parses source code, it seems a little counter-intuitive. It may improve readability to declare these variables before defining ``_start_response``.