testing: reattempt MgoInstance.run if addr in use
testing: reattempt MgoInstance.run if addr in use

Mongod does not support listening on port 0 to
acquire an ephemeral port, so our tests must
choose a port which may then be allocated to
another process. This CL adds code to reattempt
the starting of mongod if the port is in use,
up to a maximum of 5 attempts.

makyo/juju,anastasiamac/juju,frankban/juju-tmp,tasdomas/juju,gabriel-samfira/juju,macgreagoir/juju,makyo/juju,perrito666/juju,bz2/juju,ericsnowcurrently/juju,frankban/juju,ericsnowcurrently/juju,mjs/juju,voidspace/juju,Altoros/juju-cloudsigma,dimitern/juju,tasdomas/juju,voidspace/juju,howbazaar/juju,Altoros/juju-cloudsigma,rogpeppe/juju,axw/juju,macgreagoir/juju,cherylj/juju,sinzui/juju,Altoros/juju-vmware,voidspace/juju,tych0/juju,mhilton/juju,thomnico/juju,mikemccracken/juju,mikemccracken/juju,dooferlad/juju,frankban/juju,axw/juju,marcmolla/juju,AdamIsrael/juju,mattyw/juju,gabriel-samfira/juju,dimitern/juju,bz2/juju,davecheney/juju,ericsnowcurrently/juju,tsakas/juju,bogdanteleaga/juju,waigani/juju,voidspace/juju,gabriel-samfira/juju,marcmolla/juju,waigani/juju,mjs/juju,kat-co/juju,tsakas/juju,bac/juju,reedobrien/juju,bac/juju,anastasiamac/juju,mhilton/juju-juju,marcmolla/juju,mikemccracken/juju,bz2/juju,marcmolla/juju,alesstimec/juju,cmars/juju,Altoros/juju-vmware,tsakas/juju,cloud-green/juju,mjs/juju,Altoros/juju-cloudsigma,Altoros/juju-cloudsigma,marcoceppi/juju,mikemccracken/juju,wwitzel3/juju,howbazaar/juju,bz2/juju,tsakas/juju,mhilton/juju-juju,alesstimec/juju,mhilton/juju,anastasiamac/juju,frankban/juju,dooferlad/juju,macgreagoir/juju,cherylj/juju,axw/juju,cherylj/juju,kat-co/juju,jrwren/juju,kat-co/juju,marcoceppi/juju,jrwren/juju,ericsnowcurrently/juju,fwereade/juju,fwereade/juju,tasdomas/juju,tych0/juju,bogdanteleaga/juju,cloud-green/juju,makyo/juju,bogdanteleaga/juju,frankban/juju-tmp,rogpeppe/juju,dimitern/juju,dimitern/juju,howbazaar/juju,kat-co/juju,macgreagoir/juju,mjs/juju,davecheney/juju,davecheney/juju,anastasiamac/juju,wwitzel3/juju,mhilton/juju,waigani/juju,frankban/juju,sinzui/juju,Altoros/juju-vmware,bz2/juju,perrito666/juju,marcmolla/juju,ericsnowcurrently/juju,tasdomas/juju,mhilton/juju-juju,mhilton/juju-juju,cmars/juju,mjs/juju,AdamIsrael/juju,makyo/juju,wwitzel3/juju,mjs/juju,tych0/juju,thomnico/juju,marcoceppi/juju,perrito666/juju,mattyw/juju,dimitern/juju,bogdanteleaga/juju,AdamIsrael/juju,dooferlad/juju,cmars/juju,gabriel-samfira/juju,reedobrien/juju,reedobrien/juju,dooferlad/juju,mattyw/juju,reedobrien/juju,sinzui/juju,alesstimec/juju,AdamIsrael/juju,axw/juju,fwereade/juju,frobware/juju,mattyw/juju,cmars/juju,reedobrien/juju,waigani/juju,fwereade/juju,perrito666/juju,davecheney/juju,frankban/juju-tmp,frankban/juju,alesstimec/juju,alesstimec/juju,frobware/juju,bac/juju,thomnico/juju,frankban/juju-tmp,marcoceppi/juju,rogpeppe/juju,anastasiamac/juju,frobware/juju,jrwren/juju,perrito666/juju,gabriel-samfira/juju,thomnico/juju,tych0/juju,cherylj/juju,Altoros/juju-vmware,axw/juju,bac/juju,kat-co/juju,howbazaar/juju,cloud-green/juju,mjs/juju,mhilton/juju,dooferlad/juju,howbazaar/juju,sinzui/juju,bac/juju,macgreagoir/juju,cloud-green/juju,mikemccracken/juju,wwitzel3/juju