Add PigRuntime
Fix bugs for emr_hive tempalte