Undo/redo by word in Ace

Fixes #5.