Add support of angular-ui/ui-router states change

Compatibility with popular angular-ui/ui-router. This addition make scroll spy working not only if location changes (typical behavior for ngRoute), but and if state changes without modifying url by adding `$stateChangeSuccess` event listener.