Make --list option to respect the --tasklist flag.

This change also makes the --summary flag behave differently when
--tasklist is set for the --list operation.

Closes #17