Add substitute confirm mode.

With y/n/a/q implemented. I'm not even sure I know what the rest do.

Fixes #675.
Merge branch 'substitute-confirm' of https://github.com/jhance/yi into jhance-substitute-confirm