Refactor queries in the contact_information utility.

* use `get` when only filtering by primary key.
* manual revert of 26302a5. That "workaround" is not required.
* reworked `is_group_member`, to use only one query.


/cc @senny