Added some jQuery stuff to make a more compact UI

Also renamed a bunch of variables and reduces the amount of
hardcoded HTML in favor of calls to CGI methods.
Reworked the archive to only show 50 games at a time, in pages.

This will massively reduce the page generation time and the DB load.
Also tweaked the jQuery stuff and added more to the game details page.