Title: #182: Use env var IPA_CONFDIR to get confdir for 'cli' context
It's explained in the title. The ```-e confdir=/path/to/confdir``` only works
for ipa command. The env var affects all ```cli``` contexts including custom
Python script that use ipalib and ipaclient libs directly.
Also it is much easier to set an env var in a shell session than to add a
lengthy argument to every call of the ```ipa``` command.
See the full comment at
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code