Wrap <img> in <a> inside image thumb in order to match MediaWiki parser output.

Change-Id: I91cfcd9ea319b4429abbbe9ddbb07d1cd8a65b62
Merge "Wrap <img> in <a> inside image thumb in order to match MediaWiki parser output."