Added resetPendingEvents to getEvents
Merge branch 'master' into 39-reset-pending-events-should-be-called
Merge pull request #42 from keenlabs/39-reset-pending-events-should-be-called

Added call to resetPendingEvents in getEvents