Add loaders to load multiple xml/yaml files at once. This is mostly taken from symfony validator, perhaps there is a way to re-use it with some refactoring.