Added Test for CascadingJob Through Tool.main
Fix CascadeJob NPE
- Overrode validate to iterate over def jobs to call validate on each
  job.
Merge pull request #678 from pcting/fix/cascade-job-flowdef-npe

Fix CascadeJob FlowDef NPE