Added support for PRAGMA queries to SQLite3

This is a simple patch to make SQLite3 be able to properly use PRAGMAs in queries.