Add support for comparing images

Also improve the way we handle events by dynamically adding the video
and img tags to the DOM after having set event handlers on them.
Add fallback media files: samples/black.{mp4,png,webm}