Authorization abstraction and optimization

@donnapep 
- More public methods for flexibility of use
- Abstracting google auth api
- No window events to trigger
- Removal of jQuery