Implement jsonpatch.validate with tests. #29.

https://github.com/Starcounter-Jack/JSON-Patch/issues/29
I can't merge but I could send a new PR with issues addressed.