Fix compatibility with bleeding-edge stardog.js

* options.reasoning is now supported
* queryGraph doesn't wrap rawJSON anymore