Use context and executeAction instead of dispatcher directly

@lingyan I may have missed something in here like documentation, but I will push the flux-example updates as well so you can see the changes made there.
Do we expect library users to use navigateAction directly?