Configurable apt-get behavior.

For:
https://bugs.launchpad.net/juju-core/+bug/1322302
https://bugs.launchpad.net/juju-core/+bug/1350493
How about a test where these are false?