RST writer: Ensure blank line after figure.
RST writer:  Omit blank lines after list items.

They are optional in RST (except after the last list item,
of course).

Fixes #1777.