Chirp batch job module and some reengineering.

This commit reengineers batch job to better support modules.  A bare-minimum
file system layer is added to allow files to be off the local file system.
Correct wrong format qualifiers.
Conditionally include Linux-specific sched.h code.
Copyright boilerplate.