HIVE-5795 : Hive should be able to skip header and footer rows when reading data file for a table (Shuaishuai Nie via Thejas Nair)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1555238 13f79535-47bb-0310-9956-ffa450edef68
Merge latest trunk into branch. (Gunther Hagleitner)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/tez@1555255 13f79535-47bb-0310-9956-ffa450edef68