Combine image-related parser test cases.

Combine the php and parsoid versions of the image-related parser test cases.

Change-Id: I9cd99a0920e74a480f7b698feef8391220d046cc