Added start of web app based on Flaskr example

Added DB schema
More refactoring, added most methods
Much work on the security web app
More dev on security web app
Added ability to add and update sensors
Better SQL validation, added basic addition of alarms
Added sensor recording for alarms, added labels to forms
Added email to DB and forms
Added logging and basic MQTT integration
Improve events page and sensor edit page
Ensure the correct topic is subscribed to after changing it
Do not allow empty strings where needed
Handle checking alarms
Support sending emails on alerts