Naive implementation of factory dependencies

Not sure if I can rely on req.__di_caches to prevent the need for a factory to be instantiated again. However, testing yields that this now allows chained dependencies of factories.