Fix decoding of 32-bit version of Image events.

The decoding was valid for 32-bit events.
This CL added the unittests for the Image events.

R=fdoray@chromium.org, fdoray

BUG=

Review URL: https://codereview.appspot.com/68470043