Now accept two types for 'filtering' on a resource's meta: lists of allowed fields (new) or dicts of allowed filter types per field (old)
Fixed handling of filtering on fields of related resources
Allow filtering on a document field when its excluded from the resource, but it is still listed in the resource's Meta.filtering
Code review: small reordering and renaming
Additional tests: filtering on relational fields