Added simple door code with only magnetic switch sensor and WiFi
Added two motion sensors
More stable motion detection
Includes handling status RESTful command
Merge branch 'doorModuleArduino'
Update Door.ino
Added stub methods for motor integration
live updating part1

RuleManager, RuleDisplay, EventDisplay, NewEventDisplay refactor,
handles immediate updating. polling not yet implemented. Part 2 will
tackle condition and action handlers
live updating part2

ActionManager, ActionDisplay, ConditionManager, ConditionDisplay
refactor. Live updating done, meaning changes show up immediately on UI.
Polling would be implemented in part 3
Small fix to adding an action
Fixed bug in database method
sync
Merge branch 'master' into gadgeteer