The only variable really needed for the script to work is the path to the $KEYGEN binary. Allow setting this via an environment variable to avoid loading conf.sh (and causing a chicken-egg problem). Also make testcrypto.sh executable to allow its use from conf.sh.