$stopRoute and $isRightResource now checked in the handler and after functions
An exception is now thrown in case of wrong JSON data
Merge remote-tracking branch 'origin/master' into feature-fileuploads