Added get relation endpoint
Added test for get relation
Added check for model not found

and did some refactoring
Changed test name
Fixed not found error in DELETE handler
Running before hook in put request before the model found check

before hooks should always be run before any default actions
Avoid not found errors if a before hook as already responded
Removed some unused vars
Moved hooks object outside of the expose scope

so any hook function array can be used from within expose. needed to get hooks on relational data working.
Added before and after hooks to get relation endpoint
Removed a promise that wasn't needed
Removed result arg

is wasn't used
Passing an array of args to runHooks

makes more sense to do this, since the args might be different for relational hooks
Related item hooks
Executing beforeGetRelated hooks within the withRelated queries

So that they will work the same for ?load and for :related endpoints
Added relation hook tests