Extract predicate as method, rename to urlForOpening
Add setting openPrAtFirstUnreadComment
Add openPrAtFirstUnreadComment to Comments Preferences
Use openPrAtFirstUnreadComment to choose urlForOpening