Minor optimizations for CollectionUtil's first() + last() when we have a SortedSet
Fixes for CollectionUtil.first() to handle empty SortedSets
Minor refactoring for the MarkovConflictChecker... Not really to see here...