Refactors code for loading the external IP address of localhost

Candidate websites to use can be given in brooklyn/location/geo/
external-ip-address-resolvers.txt.
HA and PERSIST flag values are available to subclasses
Merge pull request #1396 from sjcorbett/external-ip

Refactors the loading of the external IP address of localhost