refactor($state): use helper funcs to scope params

Refactor $stateParams to be built by factory, so internal params and watchers can be localized.
style($state): fixing doc indent
test($stateParams): verify observation behavior