NCurses: properly handle ctrl+alt
Add support for <c-w> <c-b> and <c-e> for word moves in the line editor

This might go away later if we find a better way of handling line
edition, but seems like a good compromise for now.

Fixes #168