MODE-1901 Added support for obtaining the query plan without executing the query

Added a new method in the ModeShape public API that returns the internal query plan for a given statement and language. This same functionality is also exposed in the JDBC driver (as a custom method) and the RESTful API (v2).