Implement jsonpatch.validate with tests. #29.

https://github.com/Starcounter-Jack/JSON-Patch/issues/29