Add reference menu is disabled when a submodule is present for a component
Closes #1187
Modified LinkEntity test case to use a new function to check if a submodule is present in the project
Closes #1187
Modified LinkEntity test case to use a new function to check if a submodule is present in the project