Completed namespaced task definitions

Tests include working within another namespace, and that the TM scope isn't
clobbered
Merge pull request #232 from nyarly/namespaced_task_definition

Completed namespaced task definitions