NOJIRA - small cleanup in the canvas/google tasks code
makes it a bit more DRY
Merge pull request #663 from christianv/taskscleanup

NOJIRA - small cleanup in the canvas/google tasks code