Started prototype for an 'Event' system

Just started something up, tried writing tests for it but can't seem to get phpunit working locally. Not sure if you can accept it into a different repository or something, you can just find the fork on my github account if you don't want to accept it :)