Review round 1:

 - optimized min aggregator
 - renamed assume_values_are_sorted to script_values_sorted and assume_values_are_unique to script_values_unique
 - fixed unnecessary wrapping in AggregationContext