Save token to localStorage

Save token to localStorage as well as $cookieStore to support sites running in local filesystems with no cookie support (e.g. inside cordova apps).
`$cookieStore.get(key)` already returns `undefined` if `$cookies[key]` is not set and will pass that back through:
https://github.com/angular/angular.js/blob/master/src/ngCookies/cookies.js#L165