Further RESTXQ implementation

New features for eXist:

* [feature] Support for resource functions which can handle HTTP OPTIONS methods

* [bugfix] Make sure to correctly preserve character encoding when `%output:media-type` is used

* [feature] Support for `%output:encoding` annotation