Rewrite auto-convert-lineending confirmation.

Rewrite auto-convert-lineending's confirmation mechanism so that it makes
more sense.  Rename auto-convert-lineending-confirm to
auto-convert-lineending-action; make the purpose of this variable clearer
and add docstring to it. Clarifiy auto-convert-lineending's and its helper
function's docstring.