add a state filter to list stories/tasks/defects

closes #3 and #5