Added params onBefore/AfterTransition events
Removed uneccessary print_r
Merge pull request #4 from PeoplePerHour/master

Added params onBefore/AfterTransition events