standard library: 'max' and 'min' functions added (KT-3714, KT-3843, KT-3126)
Merge pull request #322 from chashnikov/stdlib-min-max

standard library: 'max' and 'min' functions added (KT-3714, KT-3843, KT-3126)