Get Unicode to work

Add UTF-8 decoding for standard input, which allows messages entered in
the console to match Unicode triggers from the RiveScript documents.