Fix and test JSON Pointer implementation

Now we should probably think about removing the heim_path_* interfaces
-- they are too unwieldy.