[tests/repository] use the new connection api (part 2/2)
Some notes:
* module imports cleanup
* the unimplemented `test_transaction_interleaved` is wiped
usr/lib/PY_VERSION/*-packages/cubicweb/devtools/
usr/lib/PY_VERSION/*-packages/cubicweb/skeleton/
usr/lib/PY_VERSION/*-packages/cubicweb/test
usr/lib/PY_VERSION/*-packages/cubicweb/entities/test
usr/lib/PY_VERSION/*-packages/cubicweb/ext/test
usr/lib/PY_VERSION/*-packages/cubicweb/server/test
usr/lib/PY_VERSION/*-packages/cubicweb/sobjects/test
usr/lib/PY_VERSION/*-packages/cubicweb/hooks/test
usr/lib/PY_VERSION/*-packages/cubicweb/web/test
usr/lib/PY_VERSION/*-packages/cubicweb/etwist/test