Added events module

Changes:
- added method .on, .off and .trigger
- add currently very basic normalizer for events for differences
  between browsers
- test for current functionality