refactor PhysicsContact inherits from EventCustom; simplify emitting collision events
fix compile error
remove the workaround cast
Merge branch 'physics_event' of https://github.com/edwardzhou/cocos2d-x into iss3716_refactor_physicscontact

Conflicts:
	cocos/physics/CCPhysicsContact.h
issue #3716: refactor physics contact
closed #3716: edit lua support
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss3716_refactor_physicscontact
Added getPropertiesForGID that assings value instead of returning it.
Testing a new TMX renderer

faster
sort of working
what is happening here?
working!!
code cleanup
Typo fixed
isometric kind of working
iso almost working 100% ok
issue #3900: JSBool -> bool, JS_TRUE -> true, JS_FALSE -> false.
issue #3900: JSBool -> bool, JS_TRUE -> true, JS_FALSE -> false.
issue #3900: TestJavascript could run on Mac platform with spidermonkey v27.
issue #3900: Adds spidermonkey v27 library for iOS and Mac.