Define RDFa types in ve.dm.MWBlockImageNode once and reuse whenever possible

Change-Id: Iebb2081dee4555f459adaa4cb9b802c283cf4827
Merge "Define RDFa types in ve.dm.MWBlockImageNode once and reuse whenever possible"