Collect all methods inherited by self

Property definitions

nitc :: model_collect $ MClass :: collect_inherited_mmethods
	# Collect all methods inherited by `self`
	fun collect_inherited_mmethods(mainmodule: MModule, filter: nullable ModelFilter): Set[MMethod] do
		var res = new HashSet[MMethod]
		for mproperty in collect_inherited_mproperties(mainmodule, filter) do
			if mproperty isa MMethod then res.add(mproperty)
		end
		return res
	end
src/model/model_collect.nit:809,2--816,4