Reorganised thermostat data

The actual_temp variable was stored in the settings class. Made it a global
variable in main and made extern references to it in other files. Additionally
initialised all global variables as -1.
Merge remote-tracking branch 'mdcode/master'

Conflicts:
	analysis.cpp
	integration_methods.cpp
	main.cpp
	settings.cpp
	settings.h