[CDH4] Remove limits for tpch queries and restore them where possible.

Change-Id: I3a84fa3d1e0be6a675da50bea69345f83935cec3
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3480
Tested-by: jenkins
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>