fix https://github.com/jackalope/jackalope/issues/32 by properly urlencoding

this breaks no additional tests (there are a few regressions with the protected property check)
it fixes the issues of https://github.com/jackalope/jackalope/issues/32 and makes those tests pass: https://github.com/phpcr/phpcr-api-tests/pull/111