Refactor Action, per new names.ActionTag changes, and to improve internal structure
merge latest from trunk
update bodie's code with new signatures
cmd/jujud: synchronise upgrade steps and ensureMongoServer

It's possible for the upgrade steps to complete before the
state worker starts, thus preventing it from initialising
mongo properly on upgrade. This PR makes it so that the
upgrade steps runner waits for ensureMongoServer to finish
before proceeding.

Maybe fixes https://bugs.launchpad.net/juju-core/+bug/1334273
Update state/api and state/apiserver usages of new api too, address @howbazaar's comments
Merge branch 'master' into action-tag-refactor
Patch version number in some bootstrap tests to allow tests to pass with non-dev version number
Set build number rather than minor version to simulate dev version
utils/ssh: set ServerAliveInterval option

Bootstrapping Azure was seeing the CLI
hang at "apt-get upgrade" with no further
output or command completion. Inspection
of cloud-init-output.log on the server
showed that the bootstrap procedure
completed successfully.

The problem appears to be due to the
"apt-get upgrade" taking a long time on
Azure: over 6 minutes. This inactivity
causes the ssh server to discontinue sending
output to the client. To resolve the issue
we need to ensure the ssh client sends
keepalive messages to the server.

Fixes https://bugs.launchpad.net/juju-core/+bug/1316185
Initial filtering of endpoints for public IPv4 addresses.
Simplified getting the address to return, it's always the first one.
Merge branch 'master' into action-tag-refactor
Merge pull request #188 from axw/lp1334273-upgrade-ha-race

cmd/jujud: synchronise upgrade steps and ensureMongoServer

It's possible for the upgrade steps to complete before the
state worker starts, thus preventing it from initialising
mongo properly on upgrade. This PR makes it so that the
upgrade steps runner waits for ensureMongoServer to finish
before proceeding.

Maybe fixes https://bugs.launchpad.net/juju-core/+bug/1334273
Merge pull request #164 from johnweldon/action-tag-refactor

Refactor Action, per new names.ActionTag changes...

... and to improve internal structure.
Clean up tests.
Add missing suite setup/teardown, etc.
Merge pull request #191 from wallyworld/version-1-20-fix

Patch version number in some bootstrap tests

Patch the version.Current to a dev version since upload-tools is not allowed for non-dev versions.
Merge branch 'master' of https://github.com/juju/juju into api-endpoints-public-private-address
Changed comment on dependency of address order.
Merge pull request #205 from axw/moar-test-cleanup

Add missing suite setup/teardown, etc.