Bug 1024920 - added a middleware for reporting needs

We should still add these into the request when doing it, using the supertest client, and not by tweaking the request inside the view.