Modify shell_command to accept an optional environment dict
Implement a function that will check if a zone name and endpoint
are valid (e.g. zone name as expected, endpoint reachable). Uses
the imiscsvrinfo command so we know it's using iRODS protocol.
In support of gh-4.