Null pointer path

I also ran into the issue discussed here:
  https://mailman.uni-konstanz.de/pipermail/basex-talk/2013-November/005772.html

The issues arise because in RestXQFunction.bind(name,...) the value never gets bound to a variable as the var.name = name comparison fails because we would have:
-var.name =  "world"
-name="[Q{urn:ihe:iti:csd:2013}name"

I am not sure if this pull request is the correct fix, but in the RestXQFunction.bind(http,...)  changing the line: 
-final QNm qnm = new QNm(token(m.group(1)), context);   
to:
-final QNm qnm = new QNm(token(m.group(1)));
resolves the issue