Adding login service integration.
Adding token handler functions to common.js.
Merge branch 'login-int' into development