Registration workflow improvement

- Now allows multiple acceptable states to be defined as dependency
- userState now resides in its own singleton value
- Decoupled user profile retrieval and company retrieval logic from
$authenticate
- getUserCompanies moved to risevision.common.company module
- Fix oauth2.userinfo bug in gapi mock (should not return a user when
not authenticated)
- Simulate server delay