Put irq reset in setImmediate after trigger event handler
change non-existent variable preventing light-trigger-set events from emitting
Store the trigger levels in an accesible manner
Use stored trigger values as flags for emitting trigger events
Merge pull request #6 from tessel/es-irq

Trigger and trigger-set event fixes.