Update page when turning all lights off

Now that we display the number of lights currently turned on on the
index page we need to update the page if the 'all off' button is pushed.
Fix light name
Allow light timeouts to be configured

The timeout determines how long a light stays on after it detects
motion.