core: use ncurses include path when compiling with cmake
core: add support of italic text (requires ncurses >= 5.9 patch 20130831)