OSX support

Adds a Quartz gamma adjustment method and a location provider based on CoreLocation.

(This is my first time working with Objective C so any comments on the CoreLocation provider implementation will be greatly appreciated!)