Refactored jsonpatch and jsonpointer to allow additional implementations and stateobjects to be used and not only typedjson.
Fixes after refactoring for jsonpatch and unittests.
Merge branch 'jsonpatch_refactoring' into develop