HIVE-4112

Summary: This doesn't address the full problem. Since there are lots of rules in standard for specifying the window. This patch changes to use PRECEDING and FOLLOWING instead of LESS and MORE so that we are compliant with standard in choice of keywords.

Test Plan: Updated existing testcases.

Reviewers: hbutani

Differential Revision: https://reviews.facebook.net/D9363

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/ptf-windowing@1456276 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'remotes/apache_hive/ptf-windowing' into ptf
Merge branch 'ptf' into HIVE-4037-dev-branch