Automatic repository names in Doctrine2 Yaml.

Adds support for writing the repository name in Doctrine2 Yaml.