feat(state): add $stateResolved event

$stateResolved fires after state resolved with possibility to prevent event.
Such functionality is useful for login system, when we need get current user first,
and then, based on response, redirect to login page or continue.