Allow reparsing files during a MediaDB upgrade

TODO:
* Need a better UI while we're actually updating (e.g. show a spinner and
  don't let the user touch stuff)
* Clean up any old databases from the previous version