Added more media9 support in latex. Added inline html animation of image files. Updated tests.