The initial commonization

My goals with the pull request are pretty big, so this may take some time...

  * port over all fixes from [my fork](https://github.com/jasoncalabrese/cgm-remote-monitor)
  * support data uploaded by [my REST API ](https://github.com/jasoncalabrese/project-glu) (timestamps as dates, differnt field for bg)
  * Settings
    * theme selection (Battleship, Tropical, Solarized, etc)
    * BG unit (mg/dl, mmol)
    * Range and alert levels
    * enable time ago or time of reading display
    * enable watcher count
  * UI to enable audio alarm on mobile brwosers