examples: use res.format in error-pages
examples: use res.format in error-pages

closes #3195

YR/express,strongloop/express,expressjs/express,wesleytodd/express,wesleytodd/express,strongloop/express,YR/express,expressjs/express