Unescape ref fragment pointers

The `~0` and `~1` syntax are specified in the JSON Pointer draft:

http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07#section-3
Merge pull request #146 from pd/ref-fixes

Unescape ref fragment pointers