Fix request format determination (req.format -> req.query.format)
Merge branch 'express-3x' into mongoose-fixtures
(Fix request format determination).