get task definitions from the project's attributes

This allows one to define per-project tasks in a .project file at the
project root.