Implement jsonpatch.validate with tests. #29.

https://github.com/Starcounter-Jack/JSON-Patch/issues/29
@sonnyp How could I help with merging this pull request into master? It' seems PR
author doesn't maintain this.