Adds the database query that is being executed as a property to the new JDatabaseExceptionExecuting exception object which makes the query available when catching this type of exception.
Testing Instructions
On a database error that throws a JDatabaseExceptionExecuting object (so a SQL error), the query should be available via $e->getQuery().
B/C Concerns
This changes the constructor arguments of JDatabaseExceptionExecuting so that the query is a required argument and the first argument of the constructor. This is a new class to 3.6 so it has not been present in a stable release yet, however it is a breaking API change during the beta phase.
@wilsonge @brianteeman please add a milestone. ;)