Move part of lazy element resolver structure to new module ide-lazy-resolve

This new module will be used from Eclipse, it should not have any idea
specific logic that is applicable only for idea