If we have a replica set, set write-majority
git ignore doesn't allow ./ style paths
Port login-env-urls over to git.

we lose all the history of the changes, but at least the patch is here.
I haven't run the test suite yet to ensure that all the changes are good,
but at least the patch applies.

This changes Login to return an ENV UUID and allows us to connect
to the API server under '/ENVIRONUUID/api' style urls.
Update the URLs to be at /environment/UUID/api instead of just /UUID/api.
Test that write-majority is not set when there's no replica set
review feedback
Finish review comments
Test setting of WMode
utils: remove most of it and use juju/utils instead.

utils/ssh and utils/syslog remain in core pending removal of their
core dependencies.

This is a mechanical change.
Set J:true unconditionally for the mongo session
add juju/utils dependency
Merge remote-tracking branch 'origin/master' into 002-move-utils
fix up imports after merge
Merge branch 'master' of https://github.com/juju/juju into write-majority
delete testing/filetesting; use github.com/testing/filetesting instead
Merge remote-tracking branch 'origin/master' into 002-move-utils

Conflicts:
	dependencies.tsv
gofmt
fix dependency tests
Start using networks constraints for deployments:
- "juju deploy" uses --networks=net1,net2 argument to specify
  requested networks (required to be enabled), while "softer"
  requrements only for instance selection can be given with
  --constraints networks=net2,^net3 (positive and negative)
- updated help topics
- changed MachineConfig to only have Networks (to include)
- changed RequestedNetworks in state for machines and services
  to have only a list of included networks
- changes in the MAAS provider to use both requested networks
  and network constraints for acquireNode
- provisioner API and worker uses requested networks as
  from a single slice, and ProvisioningInfo-related code was
  updated similarly
- juju status changed to show only requested networks as enabled
  and networks from constraints as disabled for a service
- fixes in lots of places (mostly tests)

There are a lot of changed files, but most of them are just
fixed tests and code using NewMachineConfig or AddService,
whose arguments have changed.
Merge pull request #28 from rogpeppe/002-move-utils

utils/ssh and utils/syslog remain in core pending removal of their
core dependencies.

This is a mechanical change.