Support of CSS property 'background-size' when using Java2DRenderer.

Fix the bug when using property 'background-size' with Java2DRenderer.
Add a constructor to Java2DRenderer for more conveniance.