Add an accessor to shared pointer to CollisionGeometry member.

  - classes CollisionObject and ContinuousCollisionObject,
  - declare former accessors as deprecated.