Merge branch 'release/0.2.10'
introduced the problem+json mediatype in sendError
promises handed back from before and after callbacks should now reject with an error with a specific variable : problem

all the fields in problem are serialized to make up the response
refined promise chaining in lots of places in route.js to reduce verbosity
appendLinked now correctly dispatches the error to a sendError function
aligning a bit more with the global testing strategy
- tests are executed against a Mongodb, other databases are out-of-scope and will not be maintained
- using global hooks
- refactored a bit so that promises are leveraged a bit more to handle connection errors
registered a catch
reformatted the code
removed longjohn again
removed longjohn from package.json
removed force error statement
added foobar resource
refactored normalisederror a bit
refined error handling in the promise chains of route.js a bit
now correctly throwing errors
error trace only active on 500 errors now
added a few expectations in the tests
refactored a bit more so that the before callback is less verbose
added default global problem+json error handler to Fortune
added ottb error handling for the req./res express chain, this now comes back with consistent problem+json messages

+ did some refactoring
+ renamed utils to send-error.js
+ added json-problem-error.js
+ added tests and fixtures for error handling
refactored send-error module
module.exports now references the function, rather than a function which produces the function
added a constructor to JSONProblemError which takes an options hash
fixed some of the unit tests assertions which were not firing
added a test which returns a rejecting Promise in the /foobar before callback
removed duplicate code in send-error.js
improved console.trace error in send-error.js to console.trace all errors, except for jsonProblemErrors < 500
rewrote the code from previous commit a bit so it's easier to understand
added foobar.js to conduct a few simple interactive tests
ordering of JSONProblemError attributes is rearranged a bit
fixed a bug, send-error now properly traces to console
reworked errors to the jsonapi mediatype
application/problem+json does not support array of errors
hence we would not be able to support errors on bulk inserts
This needs a bit more alignment to be implemented however