Added the user priority to the task tree query

Resolves: http://bugs.web2project.net/view.php?id=1592