reworked action template so correct buttons appear for each mode
set the content-type header to application/json, added link to macosx launcher
updated links to screenshots
Refactor into separate files
Use python logging
Comments and code formatting
Save events for zones/partitions defined in the config file only

This has the added advantage that the web API doesn't have to
transmit data for unused zones. In turn, the API client processes
less data.
Change code formatting and add comments
Ignore repeat events
Fix logger message levels and logger filters to console/file handlers
Fix handle_error() typo
Change logger format to /var/log/messages format
Discard events that do not affect the state of the alarm.

This prevents flooding the 'lastevents' list with duplicate
messages that don't change in the alarm system state.
Reformat author/contributor credits