Added pwchar parameter to term.read, use like `term.read(nil,nil,nil,"*")`. Closes #552.