smart theming, various bug fixes, pairing system

Adds:

Smart theming
deck submission form now comes up as part of registering
additional class inputbox and input button added for css styling
deck viewing permissions for deck privacy for active events
deck error recognition code added
deck editing permissions to prevent players from changing decks lists once an event goes active
add card counts to reports
add bye and match in progress to reports for pairing system
player record strings added to match reports



Fixes:

removes deckbox functionality for card popups
misc code optimization and formatting changes