Add UDFQuarter from https://issues.apache.org/jira/browse/HIVE-3404