Rename Extent to Rectangle

Resolves #1553 

`Extent` -> `Rectangle`
`ExtentGeometry` -> `RectangleGeometry`
`ExtentOutlineGeometry` -> `RectangleOutlineGeometry`
`ExtentPrimitive` -> `RectanglePrimitive`

I also replaced 'extent' with 'rectangle' for variable and function names throughout.