Automatic repository names in Doctrine2 Yaml.

Merged from pull request #79.