add simple model for tips

- update model when handling form input
- read model when displaying earnings
- reset model when resetting app
add space around reset button

need that space for the drop shadow
Merge remote-tracking branch 'origin/master' into gh-pages