Physics: specify AABB by its minimal and maximal dimensions.

Center + size was confusing for entering and also with bad
performance for computing collisions.
Physics: AxisAlignedBox / Point collision.
Physics: function for detecting first collision with shape in the group.
Minor code cleanup.