Improved list view

An 'empty list' message is shown when there are
no tasks to show. pending_tasks view was
renamed to task_list which is a more appropriate name
for it.: