Added a before transition event and the ability to stop listening
Merge pull request #711 from Shopify/off_and_before_transitions

Added a before transition event and the ability to stop listening