Parse 'class=' attribute on [[File:]].

Change-Id: I96b5f1248cbad840106d07f6d3a1b4982fe400f1