scoped session factory
use Session in loadtest view
Merge branch 'master' into coredb

Conflicts:
	corehq/apps/hqadmin/views.py
remove sessions at end of tests
update sqlagg version
Merge pull request #3796 from dimagi/coredb

scoped session factory