HIVE-4509 : Integer division should be cast to double. (Jitendra Nath Pandey via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/vectorization@1481622 13f79535-47bb-0310-9956-ffa450edef68
HIVE-4539 : Move test utils and fix build to remove false test failures (Tony Murphy via Ashutosh Chauhan)

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