Don't sanitize away attributes on <figure> and <figcaption>.

This makes the 'class' and RDFa properties on image thumbnails (re)appear.

Change-Id: I5947a045b3cae4090328fff84515f68341bc769b