Added comments to various classes

Also added a :debug_level option to the Pipeline class, which is passed
to the Job, and used there to enable verbose output.