Add automodsumm_writereprocessed debug option to help diagnose sphinx issues

This is essentially a clone of #1975 , but adapted for use with `automodsumm`.  It adds a sphinx option to  output the lines `automodsumm` generates, for debug use.  This should help in figuring out what the deal is for #1826 and perhaps some other tricky sphinx issues.