Collect all attribute definitions in self

Property definitions

nitc :: model_collect $ MClassDef :: collect_mattributedefs
	# Collect all attribute definitions in `self`
	fun collect_mattributedefs(filter: nullable ModelFilter): Set[MAttributeDef] do
		var res = new HashSet[MAttributeDef]
		for mpropdef in collect_mpropdefs(filter) do
			if not mpropdef isa MAttributeDef then continue
			res.add mpropdef
		end
		return res
	end
src/model/model_collect.nit:1023,2--1031,4