Also simplify initial migration for BeatmapStore by just nuking everything.
Fixes flakey unit test.
Now stores store versions to the database itself.
Welcome back BeatmapManager
Also exit the import process before importing files to the file store to avoid incorrect reference count increments.
Also a bit of tidying up.
Hide database functionality at a lower level in preparation from eventually making it private.