Registration workflow improvement

- risevision.common.profile module for retrieving and updating user
profile
- risevision.common.oauth2 module for retriving primitive oauth2 info
- Simplified registration workflow: company creation is no longer part
of the initial registration process
- 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