Moved event loop to its own repo

Closes https://github.com/PistonDevelopers/event/issues/289