Ensure we log all requests
Ensure we log all requests

During the API refactor, I moved the logging middleware into the router.
However, that middleware will only be executed if the router matches the
request, so 404s from routes that don't match won't be logged. Instead,
we wrap our router with it so all requests are logged.

Testing Done:
- Verified that hitting missing URLs results in the requests being
  logged.
- Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/9840/

reviewboard/rb-gateway