Support arbitrary page event names.

Angular-UI's ui-router fires $stateChangeSuccess instead of $routeChangeSuccess. With this modification, one could key off of an arbitrary $rootScope event for page tracking purposes.