add test cases on HTML5 Canvas2D

add test cases including: filled & stroked arc, image, line with different caps, join and stroke operations, compositing operations, text and transformation.