Add "-dev" suffix to debug builds

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
App can now sync light threshold setting from backend

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Add missing ApiMethod annotations to TemperatureEndpoint

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Add check to see if sync is needed

Automatic syncs should not happen quicker than the sensor report rate.

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>