wip
Merge branch 'master' of https://github.com/juju/juju
Merge branch 'master' of https://github.com/juju/juju
Merge branch 'master' of https://github.com/juju/juju into 166-apiserver-common-authoriser-remove-getauthentity-method
gofmt
Merge pull request #516 from davecheney/166-apiserver-common-authoriser-remove-getauthentity-method

state/apiserver/common: Authorizer remove GetAuthEntity method

This PR is part of a series of cleanups to the apiserver Authorizer interface. The intent of this PR is to remove the AuthEntity method from the Authorizer interface, forcing everything to use the Tag instead. 

In the real srvRoot authorizer this tag is derived from the entity, in the testing/fakeauthorizer the tag itself is the primary data item.

Discussion: https://lists.ubuntu.com/archives/juju-dev/2014-July/003104.html
Merge branch 'master' of https://github.com/juju/juju
state/apiserver/testing: remove GetAuthEntity

GetAuthEntity is no longer part of the Authorizer interface.

The Fake Authorizer always determines it's authentication from the Tag of the entity, so the entity itself is unnecessary.
Merge branch 'master' of https://github.com/juju/juju into 172-state-apiserver-faketesting-refactor
Merge branch '174-state-apiserver-faketesting-remove-get-auth-entity' into 172-state-apiserver-faketesting-refactor

Conflicts:
	state/apiserver/environment/environment_test.go
	state/apiserver/testing/fakeauthorizer.go
	state/apiserver/uniter/uniter_test.go
	state/apiserver/usermanager/usermanager_test.go
gofmt