Allow multiple states to be registered at once

e.g 
```js
$stateProvider.state([{
  name: 'a',
  url: 'a',
}, {
  name: 'b',
  url: 'b',
}]);
```
This is the way all other angular directives / config etc. coding style work