PAHMA-964: Check out AbstractBatchJob.java from botgarden_3.3.
PAHMA-964: Add dependencies for AbstractBatchJob.java.
PAHMA-964: Allow specifying csids or doctypes to reindex.
PAHMA-964: Some code cleanup.