cmd: remove dependencies

Fix tests and remove juju-core dependencies.
Specifically, it no longer depends on the juju version
package (SuperCommandParams now has a Version field
and a NotifyRun callback) or the osenv package (Log now
contains a DefaultConfig field).

Heh, thank you.