Update taskajax.tpl

I guess it would help if the perms check was in the right spot :-P
Update task.tpl

put perms check in the right spot
Update planner.py
Merge pull request #62 from CKnotts/master

Updates