Tempdev

Major overhauls:

1. leaderboard now sorted client-side using jQuery tablesorter plugin; switchboard simplified
2. replaced header and footer includes with a base template which can be extended
3. introduced Twitter Bootstrap styling and started template overhaul
4. major code refactors throughout for pep8 compliance and standard good coding practices
5. fixed authentication, as much as it can be fixed with the current hack-job scheme
6. improved database typing by switching many of the badly chosen character fields to integer fields
7. further improved database/models by adding default values and removing setup methods in models