provide resolved dependencies to the $stateChangeSuccess event

This commit adds a property "locals" to the state parameters of the $stateChangeSuccess event similar to the "locals" property for the parameters on the $routeChangeSuccess event on angular core.

Fixes #228