HIVE-7832: Do ORC dictionary check at a finer level and preserve encoding across stripes (Prasanth J reviewed by Gopal V)

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