Updated Sql adapter to support SQLite database

I found that the stock queries in the SQL adapter are not valid SQL for SQLite, so I rewrote some of the code in the SQL adapter. I implemented a switch statement to decide which queries to use, based on the PDO driver in use.

Check out the __get method at the end of the Adapter.PDO/Sql.php file to see the details.