Added logic to handle "membership style filters

Added logic to handle filters of type "membership_org" and "membership_type" to make it as easy to have report filters on memberships as it is for filters on groups and tags.