standard library: 'maxBy' and 'minBy' functions added (#KT-4267 fixed)