added OS X support
added core graphics header
added GBResizableImage
added save as jpg category to nsimage
finished off resizable iamge
removed unused cropping code
refactored into separate files