Made Graphic2d's only draw children if they're visible

- Also compiled in accepted PR's into the generated endgate.js files

#4
Added tests to verify correctness of Graphic2d children Visible property being used correctly