Adding one of the DB disconnect tests
3 more tests, factoring out some duplicate code in each.
Minor fixes, all four new tests passing on 5.2.x
Fixing tests and rebasing on master
GPG signing for PR tester
Merge pull request #1169 from blrm/disconnect_tests

Replication disconnection tests