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).
For the moment I'm keeping consistency with the rest of the package. Might be an idea to raise an issue to make these all consistent.