Display the full SQL query whenever an SQL exception is raised.
Currently when uWeb encounters an exception as a result of an SQL syntax error, only a portion of the query is displayed.
Quite often this section doesn't contain the actual problem, meaning no useful information can be extracted from this.
It seems we will have to catch the exception in uWeb first, then append the query, after which we raise the exception again.
This is because the error, and the partial query, are originally raised outside of uWeb, by the default mysql libary.