Fixed tree-parent mapping for mapped superclass

Pull request in order to solve the following issue: https://github.com/l3pp4rd/DoctrineExtensions/issues/782