win: Let the "Pause" key or Ctrl-S pause output.

In cmd.exe, hitting the "Pause" key or Ctrl-S will pause
programs until a key is pressed.  This is apparently
implemented when stdout is writing to, so use printf
instead of Console functions to reset the cursor to
the start of the line.  Also happens to simplify the code.

(This already worked in -v mode since that already
prints using printf.)
Based on a patch from gmisocpp@gmail.com!
Merge pull request #871 from nico/ctrls

win: Let the "Pause" key or Ctrl-S pause output.
win/lineprinter: Use a vector instead of manual memory management.

No behavior change. Based on a patch from gmisocpp@gmail.com!
Merge pull request #872 from nico/vec

win/lineprinter: Use a vector instead of manual memory management.
win: Use full console width for status messages.

The original overprinting code, added in 7b3d8c8e, used printf for printing
the status.  printf needs one column for the cursor, so the status message
could only take up `width - 1` columns.  fc554c22 changed Windows from printf
to WriteConsoleOutput which doesn't move the cursor, so keeping one column
empty is no longer needed. So stop doing that.

Also remove a duplicate call to GetConsoleScreenBufferInfo.
Merge pull request #873 from nico/full

win: Use full console width for status messages.
Make configure.py work with Python. Fixes issue #877.

Patch from @TheOneRing!
Merge pull request #878 from nico/py3

Make configure.py work with Python. Fixes issue #877.