Refactored events with variants, added tests and fixed a few bugs
Update the Event test to test Event rather than CustomEvent, fix a couple of typos
Merge pull request #141 from Financial-Times/customevent-issue79

Refactored events with variants, added tests and fixed a few bugs