Simplifying applyReplSetConfig
Fix ipv6 addresses on the way in and out of mongo (mgo)
More address fixing and tests
Comment clarification
Merge branch 'master' of https://github.com/juju/juju into replicaset-ipv6-fix
Update reviewboard file
Update reviewboard file
Update reviewboard file
Comments on functions
Conflict resolution
Test fix
fix a URL in a comment
Merge pull request #884 from jameinel/typo-fix

fix a URL in a comment
Merge pull request #776 from voidspace/replicaset-ipv6-fix

Replicaset ipv6 fix

replicaset/replicaset: fix ipv6 addresses in and out of replicaset code

Mongo only works with "bad" ipv6 addresses (::1:port format), we would rather use the "good" format ([::1]:port). This change makes sure that we only use (and see) "good" format addresses outside of the replicaset code, but we still send bad format addresses to mongo.
Merge branch 'master' of https://github.com/juju/juju into networker-mode-based-on-agent-api
Final post-review changes.