Improve the stdin handling of the command line tool (#1378)
Improve the stdin handling of the command line tool (#1378)

This patch improves the command line tool in two ways:
* The tool can be instructed to read and execute a script from
  stdin by invoking it as `jerry -`.
* The tool can be instructed to suppress its prompt when in repl
  mode by invoking it as `jerry --no-prompt`.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
gabrielschulhof/jerryscript,zherczeg/jerryscript,LaszloLango/jerryscript,dbatyai/jerryscript,gabrielschulhof/jerryscript,jerryscript-project/jerryscript,akosthekiss/jerryscript,bzsolt/jerryscript,tilmannOSG/jerryscript,bsdelf/jerryscript,LeeHayun/jerryscript,loki04/jerryscript,tilmannOSG/jerryscript,gabrielschulhof/jerryscript,grgustaf/jerryscript,bzsolt/jerryscript,dbatyai/jerryscript,LeeHayun/jerryscript,glistening/jerryscript,yichoi/jerryscript,jerryscript-project/jerryscript,jack60504/jerryscript,bsdelf/jerryscript,tilmannOSG/jerryscript,grgustaf/jerryscript,robertsipka/jerryscript,yichoi/jerryscript,martijnthe/jerryscript,akosthekiss/jerryscript,grgustaf/jerryscript,loki04/jerryscript,tilmannOSG/jerryscript,slaff/jerryscript,LaszloLango/jerryscript,robertsipka/jerryscript,akosthekiss/jerryscript,bsdelf/jerryscript,grgustaf/jerryscript,slaff/jerryscript,bzsolt/jerryscript,loki04/jerryscript,glistening/jerryscript,gabrielschulhof/jerryscript,zherczeg/jerryscript,robertsipka/jerryscript,yichoi/jerryscript,jerryscript-project/jerryscript,zherczeg/jerryscript,akosthekiss/jerryscript,LeeHayun/jerryscript,martijnthe/jerryscript,LaszloLango/jerryscript,bsdelf/jerryscript,glistening/jerryscript,gabrielschulhof/jerryscript,slaff/jerryscript,bzsolt/jerryscript,robertsipka/jerryscript,yichoi/jerryscript,yichoi/jerryscript,glistening/jerryscript,loki04/jerryscript,LaszloLango/jerryscript,martijnthe/jerryscript,loki04/jerryscript,slaff/jerryscript,glistening/jerryscript,martijnthe/jerryscript,zherczeg/jerryscript,martijnthe/jerryscript,grgustaf/jerryscript,LeeHayun/jerryscript,LeeHayun/jerryscript,robertsipka/jerryscript,bzsolt/jerryscript,dbatyai/jerryscript,dbatyai/jerryscript,grgustaf/jerryscript,bsdelf/jerryscript,jack60504/jerryscript,jerryscript-project/jerryscript,robertsipka/jerryscript,slaff/jerryscript,tilmannOSG/jerryscript,martijnthe/jerryscript,dbatyai/jerryscript,jack60504/jerryscript,loki04/jerryscript,jack60504/jerryscript,LaszloLango/jerryscript,glistening/jerryscript,jerryscript-project/jerryscript,akosthekiss/jerryscript,jack60504/jerryscript,jack60504/jerryscript,zherczeg/jerryscript,bsdelf/jerryscript