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

Compatibility with popular [angular-ui/ui-router](https://github.com/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.