Given a command template, add it as a job to the queue.

def add(self, command_template, job_class):
        """ Given a command template, add it as a job to the queue. """
        job = JobTemplate(command_template.alias,
            command_template=command_template,
            depends_on=command_template.depends_on, queue=self.queue,
            job_class=job_class)
        self.queue.push(job)