Added statistics tracking

The game now tracks the longest word, highest value word and hiscores
for each of the game modes.
Also tweaked the way that letter deselection works. Now when you click
on the last letter of a word it is deselected, but when you click on a
mid-letter then all of the proceeding letters are deselected but not the
one you clicked.