fix protocol error
Merge pull request #1153 from dajohnso/fix_protocol_error

fix protocol error
Script to clone domain wasn't waiting for db

In certain circumstances, the database was not ready when the clone
domain was requested. To combat this we now:

* Run a postgres test for the time to ensure connections are allowed
* Tie this into a wait_for with a nominal 300s timeout
Docker bot now updates pip on its own

If Dockerbot sees during an 'automated' pr test that the requirements
file has changed, it will automatically do a pip-update
Merge pull request #1155 from psav/docker_bot_req

Docker bot now updates pip on it's own
Merge pull request #1154 from psav/fix_db_wait

Script to clone domain wasn't waiting for db