Add photutils.utils functions

I added everything that was in `photutils.utils` (re: https://github.com/astropy/imageutils/issues/9)

Should `fix_prf_nan` stay in `photutils.utils`?  It seems more specific to `photutils`.