Show the percentage of games won in the stats box.

Also fix saving stats to localstorage
Extract a TimeDisplay view object for formatting time as a string.
Start recording stats for all the fields.