Update figure snippet.

Add option to pass a class, and add ‘FigureImage-item’ class to img tag by default.