Handlers for the motion detector and blink settings.

Note that the django backend isn't implemented yet, but the python bits
are simple.
Fix read of blink state
Basic implementation for toggling motion activation and blink on alarm settings