do only one query to render node tree in link chooser popup
Merge pull request #117 from Kunstmaan/link_chooser_performance

do only one query to render node tree in link chooser popup