Implemented disable-network-management environment flag
Bump build number when uploading tools during bootstrap

CI was broken due to expectations of build number
being bumped when we upload tools for bootstrap.
Bumping the build number also makes it more straightforward
to identify tools that have been uploaded vs. official ones.
Merge pull request #618 from dimitern/lp-1361374-disable-network-management-flag

Added disable-network-management environment flag

A new environment config flag "disable-network-management" added,
which is false when missing and by default, but when it's "true":
 * MAAS provider is not creating a network bridge or bringing eth0
   up and down during cloudinit.
 * The networker worker is always run in safe mode, so no subsequent
   changes to the network config are made, or and ifup/ifdown commands
   will be run.

This is intended as a "safety switch" to workaround a few bugs happening
when using Juju on MAAS mostly, until Juju's network model works and integrates
better with MAAS. List of related bugs:
 * http://pad.lv/1361374 - maas provider assumes machine uses dhcp for eth0
 * http://pad.lv/1353008 - MAAS Provider: LXC did not get DHCP address, stuck in "pending"
 * http://pad.lv/1345433 - cloud-init network error when using MAAS/juju
 * http://pad.lv/1341524 - juju/MAAS deployed host with bonding configured via preseed missing eth0 from bond on first boot

In any cases where MAAS and Juju are both trying to manage networking
on machines, set "disable-network-management: true" in your environments.yaml
file before bootstrap.
Merge pull request #620 from gabriel-samfira/windows-fix-wrench

Fix wrench build on Windows

This PR fixes the building of wrench on Windows (and by extension, jujud.exe, where its used).
Merge pull request #619 from axw/bootstrap-uploadtools-bump-build

Bump build number when uploading tools during bootstrap

CI was broken due to expectations of build number
being bumped when we upload tools for bootstrap.
Bumping the build number also makes it more straightforward
to identify tools that have been uploaded vs. official ones.
Merge branch 'master' of https://github.com/juju/juju
Merge pull request #611 from ericsnowcurrently/backups-storage

Un-revert PR #530

This reverts commit 68c71ec48f16eac6f8aff2a66496afb148ec95c6.  It simply re-applies a93e1df919450377b6dab707552582fd604cd8cf.
Merge branch 'master' of https://github.com/juju/juju
In local environments, by default, don't run OS updates/upgrades.
Merge branch 'master' of https://github.com/juju/juju
Merge branch 'master' of github.com:katco-/juju into local-apt-defaults
Replace rsyslog for non-bootstrap agents

This PR uses a fork of the standard syslog package to stream logs directly to state machine rsyslog daemon

update tls config

* ensureCertificates now adds local IPs to subjectAltName. This allows clients to validate the server when connecting via IP
* fixed tls config passed to the client
Add state machine addresses
Replaced strings.Split() with net.SplitHostPorts()
Updated dependencise.tsv and separated tests

* Only the forwarder tests should be run on Windows
* updated dependencies.tsv to include the --nounixsocket fix on Windows
New EnvUser

Add:
 - the EnvUser doc
 - support for setting the last login time for the EnvUser
 - factory methods for adding the envuser

Create the Admin EnvUser at bootstrap time.
Updated tests to reflect behavior when updates are off.
Merge pull request #621 from katco-/local-apt-defaults

Local apt defaults

For @howbazaar to correct local environment update/upgrade behavior when bootstrapping.

Running all tests locally now. I won't land unless they pass on my machine, but I wanted to get this up for review.
Merge pull request #614 from davecheney/186-state-networkinterfaces-tags

state: NetworkInterfaces type uses Tags

Return the correctly typed name.Tag implementation from NetworkInterfaces methods.
Merge Trunk.