Coverage Extension: Upgrade to support SQLite3

- Remove PEAR abstraction
- Change to SQLite3 API
Coverage Extension: More SQLite3 work and fix tests.