Refactor: Remove duplication between ClassMethods module and ModuleExtensions

Add a new Common module to share the const_missing method between the two modules