fixed JSON Pointer returned by error

* pointer expression was broken
* escape ~ and / accoring to http://tools.ietf.org/html/rfc6901#section-4
* fixed manifest file and relative paths in tests