Added readline and ncurses support, changed license to GPLv3 because of readline.