fixed the stray company filter
passed the sort into the pagination so we get it on all pages

Resolves http://bugs.web2project.net/view.php?id=1617
fixed the project name display from the task notification

Resolves http://bugs.web2project.net/view.php?id=1635
Added a check to make sure a user can always view their own information

Resolves: http://bugs.web2project.net/view.php?id=1630
Added the user priority to the task tree query

Resolves: http://bugs.web2project.net/view.php?id=1592
patch to restore the "incomplete only" functionality

I really don’t like this patch but it works.. I’d like to rethink it at
some point
Removed a deprecated field that was causing a mysql strict issue

Resolves http://bugs.web2project.net/view.php?id=1638
Fixed an issue where the custom fields weren't showng in the edit view

Resolves http://bugs.web2project.net/view.php?id=1639
load() actually returns a boolean, not the object

/ht to Philip for identifying this one
making sure the "show incomplete only" works at all levels of the task tree
fixing the password reset to make sure we get the right fields
bumping the patch level to reflect the new fixes
added a filter to update the project count based on perms

Resolves http://bugs.web2project.net/view.php?id=1631
wired the task pinning to display again

not happy with the post-pinning redirect
removing the query that is now irrelevant
Merge branch 'master' into development-pre-4.0

Conflicts:
	classes/w2p/Output/EmailManager.class.php
	includes/version.php
	modules/projects/index.php
	modules/projects/projects.class.php
	modules/tasks/tasks.class.php
	modules/tasks/vw_tasks.php