Added support for custom ownership in event loop

Closes https://github.com/PistonDevelopers/event/issues/256
Merge pull request #258 from bvssvni/master

Added support for custom ownership in event loop