Support for relationshipfields

Modification implements to proper handling when a relationship field (like contact_role) is used for searching.

It drastically simplifies the implementation of relationship fields, as after defining the vardefs for this field (and implementing all necessary widget and subpanel stuff), these fields can easily be added to the vardefs of the related modules and included in searches.

For example: search for all contacts that have the contact role "primary decision maker"