Keep toggle-all in sync with todos, add parentheses to completed count

Automatically check the toggle-all checkbox when all todos are complete.

Uncheck toggle-all if some todos are not complete.

The box is checked when there are no todos, but I think this is fine as it should be set to display:none when there are no items.

This commit also adds parenthesis around the count of completed todos.