Refactors lockdown.js
Merge branch 'master' of github.com:cannikin/lockdown

Conflicts:
	app/public/javascripts/lockdown.js
Adds a base_state to sensor for comparing the current value to the normal state of the sensor (open or closed), adds sensor name