This returns an associative array of all of the options as set
for the current DOMQuery object. This includes default options,
options directly passed in via {@link qp()} or the constructor,
an options set in the QueryPath::Options object.
The order of merging options is this:
- Options passed in using qp() are highest priority, and will
override other options.
- Options set with QueryPath::Options will override default options,
but can be overridden by options passed into qp().
- Default options will be used when no overrides are present.
This function will return the options currently used, with the above option
overriding having been calculated already.