HearthStats Import among numerous other changes

Completely reworked the background page and moved a lot of the logic
outside the main script.  Added deck uids rather than indexing by name.
 Added a card secrets page in addition to adding support for user
settings.