Bug 1024007 — Add a 503 error handler.

as discussed yesterday, we'll need to find a better name for this file.

One proposal is to move all the middlewares we have into a middlewares.js file, but I believe that should lie in a different pull request.

Naming this "failures.js" could potentially help.