SQL query errors can now be propagated to Lua scripts. This is a prerequisite for custom error hooks.
Add support for result set retrieving for MySQL and PostgreSQL drivers and export it to the new Lua SQL API.