allow filtering the api/tasks json result by state, like is possible on the monitor/tasks web view
Merge pull request #58 from anentropic/api-tasks-by-state

allow filtering the api/tasks json result by state