- fixed a crash in the dashboard code, devices can now be added again

 - fixed bugs in the name editting of sensors
 - fixed a bug in the scheduler
 - made the devicemanager externally startable, so it doesnt start when exceptions occur on server startup