Bootstrap Endpoint Address

After Bootstrap returns successfully, get the bootstrap instance and
write its addresses to jenv/environ info/connection info.
Merge branch 'master' of https://github.com/juju/juju into endpoint-on-bootstrap-take3

Conflicts:
	cmd/envcmd/environmentcommand.go
	cmd/juju/bootstrap_test.go
Make sure that the environTag is always set on the state.State struct when calling Open.
Revert "Merge pull request #530 from ericsnowcurrently/backups-storage"

This reverts commit a93e1df919450377b6dab707552582fd604cd8cf, reversing
changes made to 7f3fa3837a32416736f6affd7c7bb530e8af3f00.
Revert "Merge pull request #607 from wallyworld/agent-version-on-startup-trunk"

This reverts commit 880aaa83f1a474ef7856f1237c3781ab6a51dbfe, reversing
changes made to 66b33ceb24eef4a4593d9ab52edcf5f55a25089a.
Merge pull request #609 from bz2/revert_breakage

Revert pull requests #530 and #607

The gating test job on master is currently broken, and let through two broken pull requests, #530 and #607. This branch reverts those landings to restore head to a buildable state.
Merge branch 'master' into endpoint-on-bootstrap-take3
Make the state server info return a tag.
Fix ordering and state initialization.
Clean up the test.
Fix merge conflicts
Merge pull request #519 from waigani/endpoint-on-bootstrap-take3

Bootstrap Endpoint Address

After Bootstrap returns successfully, get the bootstrap instance and
write its addresses to jenv/environ info/connection info (choose
your name).
Merge pull request #605 from howbazaar/state-env-tag-always-set

Ensure that environTag is always set on state.State when Opened

When we Open state we need to set the environment tag.

Previously the environment tag was only specified when the database was initialized.  Now we set it every time the database connection is opened.  This is required for when we have multiple environments, and we want to filter the results based on the current environment.

A follow-up branch will update this tag based on the environment uuid from the api server when passing the state connection to the facades of the API server.