feat(state): get options for state

Example:
```javascript
var options = $state.getOptionsOfState('myStateName');
var url = options.url;
```