emulation: No longer rely on terminfo; drop ncurses dependency

https://bugzilla.gnome.org/show_bug.cgi?id=728900#c5
matcher: Remove unused trie matcher

https://bugzilla.gnome.org/show_bug.cgi?id=728665
Updated POTFILES.in