Update error.js

Added mock HttpContext calls for fail and notFound. Added dependency references for mixdown-router and mock requests and mock responses from Hammock.

These tests are currently running successfully.

Need to develop unit test for formatError. I took a swing at it, but need some direction.