Added ways to count the done tasks and a parent element in the footer.
Using setVisible method from framework.
Added crude DOM.setInnerHTML version of the todocounter.