Authorization in separate file

- Removed Authorization module from common.js
- Created new authorization.js file
- Code now checks for dependencies to exist, if they don't an error exception is thrown
Fix conditional of gapi
Merge pull request #16 from Rise-Vision/feature/authentication-file

Authorization in separate file