XD-1972: Add ability to define nested jobs

JIRA: https://jira.spring.io/browse/XD-1972
* add suport for nested jobs