Update the user manager commands.
Fixed up ActionEvents worker/uniter/filter tests to reflect AddAction changes
Fixed test behavior of worker Filter to account for change to Action query
Added filter test to ensure pre-queued Actions are properly received on worker event filter
Removed deduplication of Action events from worker uniter filter
Merge pull request #163 from binary132/action-filter-dev

worker ActionEvents filter

Requesting comments, especially on tests.  This branch includes some commits which are waiting on PR 140 and 141 to land, but the API should not change.

I'm not positive this exercises all possible cases; I'm also planning to add a 1-2 second delay in the event consumer loop so we can test adding actions midflight.

All input welcome!
cmd/jujud: ensure we don't ensureMongoServer twice

The upgrade-steps and StateWorker both call ensureMongoServer,
which is meant to check/set a flag so that we only set it up
once. There's an early exit case which meant that the flag was
not being set, which led to the upgrade-steps code restarting
mongo half-way through.

Fixes https://bugs.launchpad.net/juju-core/+bug/1338511
Merge pull request #279 from axw/lp1338511-machineagent-ensuremongoserver-already

cmd/jujud: ensure we don't ensureMongoServer twice

The upgrade-steps and StateWorker both call ensureMongoServer,
which is meant to check/set a flag so that we only set it up
once. There's an early exit case which meant that the flag was
not being set, which led to the upgrade-steps code restarting
mongo half-way through.

Fixes https://bugs.launchpad.net/juju-core/+bug/1338511
Don't kill instances if there are errors talking to mongo
Fix some error typos
Merge pull request #282 from wallyworld/provisioner-destroys-instances-incorrectly

Don't kill instances if there are errors talking to mongo

The provisioner was killing all deployed instances if it could not talk to the mongo database. 
This fixes that.
Update doc comments.
Merge pull request #277 from howbazaar/env-cmd-user-mgr

Remove EnvName from user manager juju commands

In further work to hide the environ command EnvName, the branch updates the various user manager commands.
state/apiserver: apiInfo.EnvironTag is now a Tag
test fixups
Merge pull request #284 from davecheney/133-names-refactor-part-vi

ApiInfo.EnvironTag now takes a names.Tag