fixes bug 974726 - implement correlations using postgres
Merge pull request #1908 from rhelmer/bug974726-correlations-using-postgres

fixes bug 974726 - implement correlations using postgres
fixes bug 983294 - BadStatusCodeError doesn't have an error message, r=rhelmer