3.0 - log queries with errors

This adds the ability to log query even if they error out. Previously exceptions were not caught and queries would be left un-logged. Additionally, removed the sql_dump element as it is not needed any longer
Nothing yet. I have hopes that it will get used by debugkit so that it shows queries that were executed but threw errors.