issue $4771: move PhysicsWorld to layer.
issue $4771: fix lua test and fix some bugs
closed #4771: modify test.
Merge pull request #6288 from boyu0/bug4771_move_physicsworld_2_layer

closed #4771: Move PhysicsWorld to Layer