Add identity provider interface and agent id provider implementation
Valid login test for agent identity provider.
Merge pull request #1 from tasdomas/idprov

Valid login test for agent identity provider.
Add failing tests
Style fixes.
Merge Michael's work and fix some tests
Merge branch 'master' into id-prov
Add user identity provider
Fix some collection names
Copy sessions in pinger
Refactor again...
Update dependencies.tsv
cmd/jujud: reattempt api.Open if IsCodeNotProvisioned

There is a race between the machine agent starting and
the provisioner recording its instance ID in state.
We modify the agent's logic around opening API
connections to retry for up to one minute if it receives
an error satisfying IsCodeNotProvisioned.

Fixes https://bugs.launchpad.net/juju-core/+bug/1345014
Merge pull request #357 from axw/lp1345014-jujud-wait-provisioned

cmd/jujud: reattempt api.Open if IsCodeNotProvisioned

There is a race between the machine agent starting and
the provisioner recording its instance ID in state.
We modify the agent's logic around opening API
connections to retry for up to one minute if it receives
an error satisfying IsCodeNotProvisioned.

Fixes https://bugs.launchpad.net/juju-core/+bug/1345014
Added MakeMachine mathod to factory.
Factory methods for charms and services.
Add unit methods to factory.
Update style, some code changes.
Comment updates.
Factory improvements - style fixing.