Adding inheritance support for mapper anotations, during mapper initialization whole class hierarchy is searched.
Minor fix in mapper initiliaztion.