Adding control of expiration time in localstorage. Issue #133.