Change client query using `get` instead of `filter_by`.
manual revert of 26302a50. That "workaround" is not required.

There was a check to work around collation issues with Oracle.
The reason to add this behavior, were duplicated records with different case.
The `clients` table is only filled by opengever. We need to maintain consistency
of case ourselves to make quering easy. Having two records with the same primary_key
in different case is going to break the application anyway.

/cc @lukasgraf
use `get` when only filtering by primary key.
Reworked is_group_member, so that it only use one query.
Refactor get_user_sort_dict.
consistend use of `filter_by` for single table queries.
`get_group_of_inbox` returns `Group` object.

As the name suggests, this method fetches the whole group.
However it only returns the `groupid`. This patch returns
the complete group object instead.
use `is_one_client_setup` where appropriate.
`count` instead of fetching the record. We only need to check existance.
Merge pull request #231 from 4teamwork/pg_get_current_client_refactor

Refactor queries in the contact_information utility.