Filter by class

This supports the filtering by a class attribute when filtered domain class has its implementors (sub classes). This seems to be quite useful at least in our project where we have a complex structure of domain classes. We usually have an abstract class (scaffolded) for common work (list, filtering, etc.) and few implementers (sub classes).

My solution somehow fakes the class attribute (it is actually not a GrailsDomainClassProperty). However, in the end it is possible to filter by this attribute in criteria builder.