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
Bump ALARMSTATE version
Merge pull request #25 from jyros/develop

Some optimizations and code refactor