Merge changes from release v0.3.0
Fix omission preventing memorized tokens from expiring
Set version to v0.3.1 and add history
Release v0.3.1