line reading for mate-calc-cmd

I have added a simple line reading for mate-calc-cmd that
supports left and right arrow keys, home, end, delete
(and utf8, ctrl+4 and backspace, which as already supported.)


Signed-off-by: Mattias Andrée <maandree@operamail.com>