RF: refactor to restore previous inverse behavior

Restore the previous behavior of returning a floating point inverse
(mostly) from an int input AffineTransform.  Add flag to inverse method
to specify new behavior of returning None when no integer inverse can be
found.