Create LogicMapping on Ontology import only if source and target have logics set. Refactored Hets module a little.