Sub-all functionality in function, and use it in CRABSubmitter.
Merge branch 'master' into ntuplev11