[pyramid] Call repository's shutdown method atexit
This way when run through a WSGI server (pserve, gunicorn, etc.) we make sure
that the repository is properly shut down. In particular, this would wait for
threads to terminate (otherwise, they'll be killed).
pytest
http://hg.logilab.org/master/logilab/common/archive/default.tar.bz2#egg=logilab-common
http://hg.logilab.org/master/yams/archive/default.tar.bz2#egg=yams