[tests/repository] use the new connection api (part 2/2)
Some notes:
* module imports cleanup
* the unimplemented `test_transaction_interleaved` is wiped
missing-dep-for-interpreter make => make | build-essential | dpkg-dev (usr/share/pyshared/cubicweb/skeleton/debian/rules.tmpl)