Add support for player chat events in core mod

I'm not sure if this is how we want to do this, but this is my
suggestion.
Merge branch 'master' of https://github.com/Plazmaz/Sponge