fixing rewrite xml for oozie and webhcat
Setting better ptymodes
setting idle timeout to 1hr