Adding an `offline` attribute to trigger offline access support.

Part of #24 to add offline support. This initial change add the `offline` boolean attribute that triggers of the offline access request.
Name of the event (signout -> signin) still needs to be fixed in this line though.

First part of the comment was actually meant as suggested fix for this line, probably should have made two comments to make things clearer.