Make Yaml driver for Tree mapping compliant with resolve target entities

This PR fixes an error when using doctrine resolve target entities and trees with Yaml driver (seems working with annotations and not tested with XML driver).

  [Gedmo\Exception\InvalidMappingException]                                                                                            
  Unable to find ancestor/parent child relation through ancestor field - [parent] in class - MyClass