Adapted the pim:install command when using mondodb driver
Replaced entity cache to doctrine cache
Flush the whole document manager during completeness generation
Prevented call to undefined index
Merge pull request #946 from akeneo/mongo/pim-install

Adapted the pim:install command when using mondodb driver