Thrasher pull request with new web frontend and major changes to server.

* New device class

* Reworked server to be device oriented

* Fixed several problems with multi-device functionality

* New front end that uses bootstrap and mustache to add multi-device functionality (and is pretty!)

* A number of bug fixes for various errors