orchestration: Fix VirtualMachineEntityFactory to process spring injections

The bug was found was Harikrishna P. when iso was used, in case of Isos, the
create vm from scratch which fails due to factory being used to get the object
which is not spring injected

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 54bfd7e04a0ab8c613aba3fcb2dd7e112cb35b31)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-1221