Enable automated tests:
- Gulp test runner, enabled to run .coffee tests
- Mocha/Chai for BDD tests (to be written)
- jshint + code fixes
- coffeelint + code fixes
Tests for /lib/db.coffee
Tests for /lib/http.coffee
Resulted in refactoring of http.coffee where the internalError function was moved to a new error.coffee module,
which was given its own tests
Closes #9