Merge pull request #340 from pandamicro/tests_js_3.0

Refactor #4125: Apply textAlign, fontSize, fontName, bounding getter/setter