Move ReferenceVariantsHelper and extensionsUtils to ide-common module

They are going to be used in Eclipse