Added minBy and maxBy methods
fixed whitespace
Merge pull request #37 from michaeleisel/added_minBy_and_maxBy_methods

Added minBy and maxBy methods
Fixed test targets
Merge remote-tracking branch 'upstream/master'