Task: Add 'completed' parameter to the Task object

I find property on the Task object itself more useful and concise than typing comparing task ID to 0 each time.