Adjust Module#{module_function,extend_object,append_features,prepend_features} and related methods

related ruby/ruby#376