PIG-3975: Multiple Scalar reference calls leading to missing records (knoguchi via rohini)

git-svn-id: https://svn.apache.org/repos/asf/pig/branches/branch-0.13@1603309 13f79535-47bb-0310-9956-ffa450edef68
PIG-4017: NPE thrown from JobControlCompiler.shipToHdfs (cheolsoo)


git-svn-id: https://svn.apache.org/repos/asf/pig/branches/branch-0.13@1603314 13f79535-47bb-0310-9956-ffa450edef68