Ncurses::CharCode class refactored, code adapted to use its instances

Details:

- changed Ncurses::CharCode to work with wide characters,
- removed select wrapper when reading input,
- moved input reading into Ncurses::CharCode class,
- implemented passing Ncurses::CharCode objects as far as possible.