jdbc: adds sqlite driver using jdbc driver.

Needs testing before merging to master
Logging + rewrite of sqlite provider.
Forgot to push this.

JDBC + extra logging