[stresstests] Support CSTRESS_BROKER and CSTRESS_PREFETCH envvars
[django] Use django.db.close_old_connections on Django 1.6+