Make transform work with the image routes
Make transform work with the image routes

The saveImages function needed access to the req object as well as the
res object. Rather than pass in more parameters I've instead added a
middleware that adds the saveImages method to the res object which gives
it access to req, res and next via a closure.

Sinar/popit-api,Sinar/popit-api,mysociety/popit-api,mysociety/popit-api