Move: Fix detection of imported declarations and processing of extension usages
 #KT-5787 Fixed
 #KT-4959 Fixed
Minor: Add @NotNull annotation
Minor: Fix warnings