JSPUI implementation and small improvements

This add the JSPUI implementation on our small API. I have made only small changes reflected also on the XMLUI side:
- return null instead of [null] when the handle is not resolved
- return standard http error code in case of wrong request
- introduced two configuration parameters (see comments in the dspace.cfg)