[ADD] RESTXQ: catch errors.
      Documentation: http://docs.basex.org/wiki/RESTXQ#Error_Handling