Added support for PBS.

Scheduled jops now report their ID.

Added support for waiting for jobs based on their ID.