[#438] fixed parsing of the Tiled transparency attribute for Image
[#438] fixed parsing of the Tiled transparency attribute for Image

also refactored some code

srbala/melonJS,TukekeSoft/melonJS,TukekeSoft/melonJS,gopalindians/melonJS,gopalindians/melonJS,rlugojr/melonJS,gopalindians/melonJS,MarkoIvanetic/melonJS,srbala/melonJS,TukekeSoft/melonJS,MarkoIvanetic/melonJS,rlugojr/melonJS,rlugojr/melonJS,melonjs/melonJS,melonjs/melonJS,srbala/melonJS