added logic in event handler to check state before triggering event
Merge branch 'master' of github.com:trafferty/RPi_GPIOEventProcessor