make task sidebar count all tasks of group
1, fully refactory task privilege system,
2, relax the task privelge to  group scope. make all users in group can edit task
3, if you can edit task, you are allowd to view task detail page now.
fix :all task count calculation
Merge branch 'roadt_master'

Conflicts:
	app/views/tasks/_pending.html.haml