Postgres single connections will no longer leak
Postgres single connections will no longer leak

Some users were experiencing problems with Postgres connections leaking when
they didn't enable pooling. This commit should fix the problem.

- In prototype.disconnect() we now properly call this.client.end with
  this.client.end.bind(this.client) (as shown in the node-postgres wiki).
- We no longer check for readyForQuery on this.client as that value may not
  always be populated by node-postgres (possibly a bug on node-postgres).

This should close https://github.com/sequelize/sequelize/issues/859

treejames/sequelize,globesherpa/sequelize,Kagaherk/sequelize,alexbooker/sequelize,venkatesh-tr/sequelize,appleboy/sequelize,denim2x/sequelize,mvnnn/sequelize,Znarkus/sequelize,seshness/sequelize,abegines/sequelize,pimterry/sequelize,calvintwr/sequelize,eventhough/sequelize,alanhoff/patch-sequelize-3489,toddsby/sequelize,eddieajau/sequelize,keik/sequelize,cschwarz/sequelize,3ch01c/sequelize,sequelize/sequelize,thomascool/newsequelize,overlookmotel/sequelize,abossard/sequelize,bulkan/sequelize,bomattin/sequelize,lebretr/sequelize-oracle,grimurd/sequelize,konnecteam/sequelize,growaspeople/sequelize,jessicalc/sequelize,mliszewski/sequelize,oss92/sequelize,Amgen/sequelize,scboffspring/sequelize,sankethkatta/sequelize,festo/sequelize,xpepermint/sequelize,Wsiegenthaler/sequelize,lebretr/sequelize-oracle,braddunbar/sequelize,camhux/sequelize,sreucherand/sequelize,jasonku/sequelize,wKich/sequelize,Ghost141/sequelize,majorleaguesoccer/sequelize,pola88/sequelize,Americas/sequelize,scottty881/sequelize,alekbarszczewski/sequelize,PhinCo/sequelize,botter-workshop/sequelize,dantman/sequelize,adeo-proxideco/sequelize-oracle,janmeier/sequelize,jayprakash1/sequelize,seanjh/sequelize,kenjitayama/sequelize,cbauerme/sequelize,inDream/sequelize,savageautomate/sequelize,rodrigoapereira/sequelize,adeo-proxideco/sequelize-oracle,rpaterson/sequelize,ziflex/sequelize,mikeringrose/sequelize,jingpei/sequelize,emhagman/sequelize,yotamofek/sequelize,dbirchak/sequelize,quiddle/sequelize,Bibernull/sequelize,elijah513/sequelize,sequelize/sequelize,yjwong/sequelize,niceilm/sequelize,StefanoDalpiaz/sequelize,yonjah/sequelize,peachworks/sequelize,joe-at-fiziico/sequelize-point-support,baotingfang/sequelize,tornillo/sequelize,brunocasanova/sequelize,tedjt/sequelize,p0vidl0/sequelize,Alexsey/sequelize,gintsgints/sequelize,Americas/sequelize,FredKSchott/sequelize,sorin/sequelize,seegno-forks/sequelize,subjectix/sequelize,czardoz/sequelize,gutobortolozzo/sequelize,oshoemaker/sequelize,andywhite37/sequelize,smokeelow/sequelize,konnecteam/sequelize,PsiXdev/sequelize,gorangajic/sequelize,pensierinmusica/sequelize,jungseob86/sequelize,kevinawoo/sequelize,briandamaged/sequelize,mdarveau/sequelize,DavidMorton/sequelize,pixel2/sequelize,crzidea/sequelize,bassarisse/sequelize,jayprakash1/sequelize,SerkanSipahi/sequelize,chriszs/sequelize,pedrox-3w/sequelize,inDream/sequelize,tmcleroy/sequelize,chauthai/sequelize,hariprasadkulkarni/sequelize,alitaheri/sequelize,imjerrybao/sequelize,nemisj/sequelize,pentium100/sequelize,phanect/sequelize,jchbh-duplicate/sequelize,codyrigney92/sequelize,meetearnest/sequelize,skv-headless/sequelize,Daimonos/sequelize,darwinserrano/sequelize,rfink/sequelize,yelmontaser/sequelize,Aweary/sequelize,JYzor/sequelize,zillow-oc/sequelize,overlookmotel/sequelize,atorkhov/sequelize,angelxmoreno/sequelize,givery-technology/sequelize,topikachu/sequelize,Verdier/sequelize,johngiudici/sequelize,paolord/sequelize,mendenhallmagic/sequelize,mcanthony/sequelize,felixfbecker/sequelize,MagicIndustries/sequelize,lukealbao/sequelize,johanneswuerbach/sequelize,linalu1/sequelize,treythomas123/sequelize,toddbluhm/sequelize,3032441712/sequelize,ojolabs/sequelize,ReikoR/sequelize,arcana261/sequelize,bangbang93/sequelize,sequelize/sequelize,sobotklp/sequelize