Support for more comprehensive harvesting mode vs binary safe-mode.

https://bugs.launchpad.net/juju-core/+bug/1345553
We also need tests for the processing of the deprecated safe-mode setting (turning it into the relevant harvest setting).
There's also tests in environs/config_test.go to check the deprecation warnings are printed. We need a new test for the safe mode warnings.