made events module flexible, so we can use it for all the core extensions, instead of re-defining the on / one / unbind / trigger methods

* * *

This week of work on @hoodiehq is sponsored by Cargo Media.

   Their slogan is “Small Team, Big Impact” and they are hiring
   a Frontend and Backend Dev: http://go.hood.ie/cargo-media
DRYd events implementation for extensions

* * *

This week of work on @hoodiehq is sponsored by Cargo Media.

   Their slogan is “Small Team, Big Impact” and they are hiring
   a Frontend and Backend Dev: http://go.hood.ie/cargo-media
Merge pull request #131 from hoodiehq/v0.4-peanuts-flexible-events-module

V0.4 peanuts flexible events module