[DependencyInjection] added a new Syntax to define factories as callables.
[DependencyInjection] short syntax in YAML for new factory syntax