Fix: version contexts via URL wouldn't persist
Created by: attfarhan
Version contexts in localStorage should be updated when a URL uses a different version context. It wasn't occurring previously.
edit: added commit to make setVersionContext
accept undefined, so callers can pass it instead of an empty string.