KNOX-261: Better env checking and error messages in gateway.sh
Merge remote branch 'origin/apache-ref/master' into baikal-GA-0.4.0