WIP: WCS and rotate() fixes

This is a WIP to fix up the handling of the `rotate()` function and the WCS keywords associated with Image and Focal Plane rotation.

This addresses #923