Added DslFactory

Allow typed access to JobParent through an interface for DSL script helper classes and to ease unit testing of those.