Trigger values now read from database

Lower and upper temperature triggers are now read from database. New
table 'configuration' added to DB.