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

Change-Id: I62ec12a6b71b60b15a4200722b8963d4cfd1b582