add the ability to draw pieces to BtimapData

Now if the size of the rect of a piece is larger than a threshold, it
will be drawed on a sprite and then added the sprite to stage,
otherwise, the piece will be drawed to a BitmapData and then copy these
pixels to the canvas.