Migrated test towards unit-style.

This test was intended to check the internal behavior of a type and thus is more of a unit test. In this spirit, we've migrated more towards this style by stubbing an internal variable to observe the type's behavior.
Removed unnecessary exports.
Status enhancements.

- Port is now appended to "oneline" output.
- "line" and "short" are now aliases for "oneline".
Factory with support for charm metrics validation.
Increment juju to 1.22-alpha1
Merge pull request #1035 from sinzui/1.22-alpha1

Increment juju to 1.22-alpha1

Increment the devel master branch to 1.22-alpha1. We will complete the 1.21.0 development on a new stable branch named 1.21
Implemented review suggestions.

- Migrated to a string literal in oneline test.
Merge pull request #1032 from tasdomas/uniter-metrics-validation

Metrics validation support in the uniter.

Now that charms have a way of declaring the metrics they will report, validation of metrics will be performed by the charm package, when the metrics is added using the hook tool add-metric.

In addition to this, the MP fixes the way local charms are added to the charms collection in state, so that the Metrics component is also stored.
Merge pull request #965 from katco-/lp-1272407-prov-test-flaky

Migrated test towards unit-style.

https://bugs.launchpad.net/juju-core/+bug/1272407

This test was intended to check the internal behavior of a type and thus is more of a unit test. In this spirit, we've migrated more towards this style by stubbing an internal variable to observe the type's behavior.
Merge pull request #1028 from katco-/status-enhancements

Status enhancements.

- Port is now appended to "oneline" output.
- "line" and "short" are now aliases for "oneline".
'juju server trust' subcommand, API boilerplate and supporting state.
Refactor admin auth, introduce remote macaroon auth method.
Updated apiserver admin tests.
Initialize StateServingInfo in dummy provider bootstrap for apiserver
tests.
Updated to use juju/macaroon, recent bakery API improvements.
Create target key pair when setting identity provider, if not set.
Add serveradmin client API tests.
Add serveradmin test, copyright comments. Tweak IdentityProviderInfo.

Changed state.IdentityProviderInfo.PublicKey field from pointer to value.
Add server command unit tests.
Fix remote authenticator impl, api.Login returns ReauthRequest.

Remove LoginRequest.LoginMethod, trying a simpler approach based on
StateServingInfo.IdentityProvider state.