Added more overloaded functions of min/max in Option.

From: Jie Yu <yujie.jay@gmail.com>
Review: https://reviews.apache.org/r/16225