Dump the oplog.
Add oplog-focused tests.
Fix test oplog marshalling.
Strip oplog entries for ignored databases.
Unmarshal oplog.bson all at once (a simpler approach).
Switch to removing ignored databases upon restore (excluding "backups").
Make the non-ignored databases more obvious in each test.
Make it clear why we verify that an ignored database was *not* stripped.
Add support for using index2.json for tools
A few formatting tweaks
Merge pull request #1060 from wallyworld/simplestreams-index2

Add support for using index2.json for tools

Fixes: https://bugs.launchpad.net/juju-core/+bug/1389807

With this change, when loading tools metadata, firstly we look for an index2.json file.
If that's not there, we look for index.json

This allows extra metadata to be added for use by 1.21 and later versions of Juju, and 1.20 and ealrier will not be affected.

The metadata generation plugins have been changed to generate index2.json

As a drive by, some old code, no user used since provider storage was dropped, was deleted.
Validate creedentials are correct before attempting to bootstrap a joyent environment
Merge pull request #1066 from wallyworld/validate-joyent-credentials

Validate creedentials are correct before attempting to bootstrap a joyent environment

Partially fixes: https://bugs.launchpad.net/bugs/1362072

In a similar vein to what was done for ec2 etc, validate joyent credentials prior to bootstrapping.

Tested live.
Add --clean option to tools metadata generation
provider/azure: verify credentials during Prepare

Verify credentials while preparing environment configuration
for Azure, and display a helpful error message on failure.

Fixes https://bugs.launchpad.net/juju-core/+bug/1362072
Fix whitespace
Fix copy/paste
Merge pull request #1068 from wallyworld/generate-metadata-delete-option

Add --clean option to tools metadata generation

Fixes: https://bugs.launchpad.net/bugs/1390250

Add a --clean option to "juju metadata generate-tools"

This will delete any exiting metadata for the specified stream, so that new metadata replaces instead of merging. Metadata for other streams is untouched.
Merge pull request #1070 from axw/lp1362072-azure-verify-credentials

provider/azure: verify credentials during Prepare

Verify credentials while preparing environment configuration
for Azure, and display a helpful error message on failure.

Fixes https://bugs.launchpad.net/juju-core/+bug/1362072
Merge pull request #1040 from ericsnowcurrently/backups-oplog

Handle the oplog when dumping mongo.

We are going with option 3 on https://lists.ubuntu.com/archives/juju-dev/2014-October/003818.html, with the caveat that the backups DB will be left out of the dump.