juju: refactored unitStatus.

related to #537.
juju: implemented unreachable.

closes #537.
related to #553.