Make metadata code independent of mysql. Make sure metadata repositories get properly decorated.

I'd like the EMXImporter to be able to work with any RepositoryCreator, for instance the MysqlRepositoryCollection. I don't know why EMXImporter calls it store, I renamed it to repositoryCreator originally but then thought the better of it cause it was not really part of the code being refactored.