Added class to manage ncurses color pairs.