fix test_sqlitecachedb_upgrade.py
Update gitignore
Split upgrade module in DB upgrader and collected files upgrader to ease testing/reading.