Now pass in job input and environment. This fixes the multiple environment settings, and uses python to pass in the input vs '<<<'. In the future, instead of copying the environment for every job, we could store set of environments, and each job could store a pointer to its env in the set; saves storage. Also removes escapes from escaped percent signs. Updated man pages to reflect changes.