Tidy up JSON format. Better support for custom properties in PhysicsEntity constructor.
Add Box2D debug view.