remove old SQLiteCacheDBBase
fix database
fix db upgrade
fix db tests