Fix some instances where we left db connections open (registration -> captcha for...
treec2cf819ff1c67fbc1b68114d8278767f8cefe0c2
drwxr-xr-x - code_sniffer
drwxr-xr-x - phpBB
drwxr-xr-x - tests