[r=gz] instance: Add table tests for address selection
[r=gz] instance: Add table tests for address selection

Adds direct testing of SelectPublicAddress and SelectInternalAddress
functions. Some of the logic is already covered in provider specific
testing of functions that call them, these tests make the
requirements clearer.

https://codereview.appspot.com/13394048/

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