issue #2771:  fix bug physics test debug: button must click twice.
issue #2771:  change PhysicsContact::create to construct
issue #2771:  fix physics test crashes
Merge pull request #4310 from boyu0/iss2771_physical

[ci skip]issue #2771 physical fix crashes
fix compiling error of js template
Merge pull request #4313 from minggo/develop

[ci skip]fix compiling error of js template
Merge commit '3acc3131f9726bfedae964e63fbe22c162b7ec65' into develop