(with-latest-version) now uses memoized call to latest-version

when using (with-latest-version) the caller will most likely want to use the same latest-version throughout their session, and there's basically no chance the latest version will update during the session or even lifetime of the application (without restart).