Check for endpoints in response, displaying error message properly
Merge pull request #555 from makyo/add-subrel

Display an error if Juju will not allow a subordinate relation.

Check for endpoints in response, displaying error message properly; fixes 1369606