ModuleManager: Check if module has duplicated factories before making it resident

Change-Id: I433ae177c9cdc83145c6740a935592fcb73d3f62
ModuleManager: Print a more specific message when a factory is not found

Change-Id: I4d1fb83d9650ff30269f119e36d2a96430cc5152