Add custom event handlers to Game.State
Change Game.Error to Game.GameError
Fix bug in event handlers calling
Add remove object method
Call callback in event handlers with event
Fix naming problem with ErrorType constants
Fix naming problem with ErrorType constants
Add tests
Fix some unsubscribing bugs
Add removeEventHandler method
Reorganize tests
Add events tests
Add custom reporter for building test
Reorganize tests
Make sure passing data to Game.Publisher.fire overwrites data in event if it exists