Better emulation of ds9 image scaling. #171

This PR adds log and power scaling to Glue's image contrast mode, and tweaks the scaling math to better match ds9's behavior