Fix SQLite support, other changes:

Ouch more remaining ouch;
Do not use login dialog for sqlite;
Update the SQLite module to use exceptions, add table info method;
Update POD in model, rename sub from db_connect_inst to db_connect_new;
Fix status message if no user and no db;