[SQLite #5] SQLite fixes and implementing installPlugin in Base