KNOX-262: Improve JRE detection in scripting.
KNOX-265: Add master secret generation to knoxcli.
Merge remote branch 'origin/apache-ref/master' into baikal-GA-0.4.0