Adding support for sqlite, turning on PDO exceptions if in devmode