I added functionality so that only jobs with a status of 'pending' will be looked at
tabs vs spaces template_writer.py
I added 'status' functionality
Updated QC_2Runs
added --requeue option