Added min and max functions per #196, and a supporting ObjectUtils class which manages comparisons PHP-style.
I bungled my last commit. This fixes that.
Merge pull request #197 from thomas-p-wilson/feature-min-max

Added max and min functions