New function: check_ref_image_pixel_scale().
Partially resolves durga2112/astropy#18.