Have errors from plugins passed back as the error code from juju.

If the plugin returns a non-zero result, we should pass that through from juju itself, rather than printing an error and returning a (maybe) different error code.