Add support for scanning a YAML file for imports of other resources

Like in Symfony2, where we are able to import resources in YAML files, I've made this service able to scan for imports directives.