Added TrueSkill leaderboard, refactored, added JQuery-UI, changed dir structure

Major changes to the directory structure, major refactoring accross the board.
Added TrueSkill rating update script and TrueSkill leaderboard UI.
Changes to log search:
- Removed case-sensitive username search
- Removed overall win-loss record (to be reimplemented elsewhere)
- Open log in new tab/window
- Date range defaults to Goko's entire history
- Correct Goko's "JackOfAllTrades" nonsense
- Allow searching without specifying a player
- Filter by draws
- Filter by resignations
- Filter by cards not in kingdom
- JQuery-UI datepicker
Bug fixes, refactoring

Cleaned up the automatch module a bit.
Corrected the JS and css imports.
Fixed some bugs in the new db_manager implementations.