Don't use bash to read key.

After security-updates to bash it's no longer possible to store
functions in envirinment.  This patch replaces use of bash to read a
single key from tty with the perl-module Term::ReadKey
Merge pull request #5 from chrekh/master

Don't use bash to read key.