Minor changes to read temperatures and control devices

Add more documentation.
Change SQL.
Try to send the command to turn on/off a device multiple times if it
fails.
Remove unused code.
Add Arduino file
Add new table in database

Minor changes
Change indent
Add support for watt tracking in DB

Remove unused function
Add support for watt tracking in DB

Add minor changes to DB.
Change adjustTemperature function.
Add licence and support for ISO-8859-1
Merge pull request #1 from LaStrada/TemperaturSensor

Temperatur sensor