PIG-3493: Add max/min for datetime

git-svn-id: https://svn.apache.org/repos/asf/pig/trunk@1528726 13f79535-47bb-0310-9956-ffa450edef68
Merge remote branch 'origin/trunk' into trunk
Merge remote branch 'origin/trunk' into trunk-gd