Update index.js

Updated module pattern according to new pattern.
Update package.json

Updated version of Mocha to latest. Added mixdown-app to devDependencies.
Update index.js

Changed formatError(err) reference to be correctly scoped. Should perhaps change the res.end message. Not sure how useful that will be for end users. This way currently passes unit tests, however.
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.
Update error.js

Updated response message to be more user friendly.
Update index.js

Updated response message to be more user friendly.
Merge pull request #1 from drinkingtheink/master

Update index.js