[Bugfix] missing cache set for non extendable factories
Merge pull request #5313 from emberjs/fix-cache

[Bugfix] missing cache set for non extendable factories