New SET calculation, html refactor

 - Card attributes are calculated as a sum of numbers, and then sums are compared to determine sets
 - Refactored html functionality
   - Got rid of global table object
   - General code cleanup and refactor