Move rectangular_overlap to geometry subpackage and write it in Cython

This is a reminder that we should move ``rectangular_overlap`` (currently in ``aperture_funcs``) to the ``photutils.geometry`` sub-package, and write it in Cython.