Let MysqlRepositoryCollection create the metadata repositories.
Make MetaDataService independent of Mysql.
Better delete order for self-referencing entities.
Make sure the metadata repositories get indexed WIP