WIP: Locate same named method, instances and classes across domains

This feature allows the UI to display a list of overridden instances
and methods from different domains. The functions return an array of classes or instances or methods ordered based on the domain priority. The UI should be
able to guide the end user to the highest priority instances and methods
@mkanoor The last ```return``` is not needed.