retrieve querybuilder with createQueryBuilder from Entity repository
Fix unit test
Merge pull request #1013 from GeniusesOfSymfony/master

[Tree] Retrieve querybuilder with getQueryBuilder from AbstractTreeRepository