Dedupe the applications list.

Dedupes the recent apps list and changes the version check to check against the SDK instead of the running OS version. (cf “Backward compatibility” in https://developer.apple.com/library/prerelease/mac/releasenotes/AppKit/RN-AppKit/index.html#//apple_ref/doc/uid/TP30000741)