add multibyte spec
use StringScanner in Input
introduce Input#scan(regex)
get rid of Input#read in favor of #scan_string