MediaLibrary: Create the Settings table first

So that we can load the current model version as early as possible.
This and the 2 previous commits fix an issue causing playlist & media
triggers to be missing on first run, as the model was loaded too early,
and was evaluated to 0
5 jobs for fix_indexes_creation in 17 minutes and 18 seconds