issue #2771: add class PhysicsDebugDraw
issue #2771: rename PhysicsWorld::create() to PhysicsWorld::construct(), fix some bugs