Update to use the new couch_event application
Fix trivial typo
Use a private record for event listener state
Merge pull request #50 from cloudant/17702-import-couch-event

Update to use the new couch_event application