Add support for creating, querying, updating and deleting affinity groups

Cleanup of additional HttpClients is coming.