[server] move connection pooler initialization logic to get_cnxset()
This avoid complex logic in Repository initialization.
3.28====Changes-------- the class cubicweb.view.EntityAdapter was moved to cubicweb.entity.EntityAdapter a deprecation warning is in place, but please update your source code accordingly.