getStateConfig

Don't be confused by the branch name, method is now called `getStateConfig` as [mentioned](https://github.com/angular-ui/ui-router/issues/294#issuecomment-22081294) by @timkindberg.

Not sure how or where to do docs.

Fixes #294.