Restructured image measurement functions

This PR includes a restructuring of the image measure functions, a new `measure_curve_of_growth` function and tests for all measurement functions. All functions were change to use an `ImageHDU` and world coordinates.