add CONN_MAX_AGE to database config, to take advantage of persistent connections
Merge branch 'master' into torchbox