Refactor getAvailableTasks to getAvailableCapTasks. Replace binding to process with binding to task events.
Break merged single-line into multi-line
Merge pull request #35 from vogdb/issue-35

Bind to task events instead of process ones.