Issue 1171 - Add currentVersion Pref and compareVersions API