Textile writer: Removed an unused assignment.
LaTeX reader:  Add "fig:" as title for images with captions.

This is needed for them to be rendered as figures.
Closes #766.