Made autoOrient not to throw on absence of Exif data. Removed some dead code.
Fixed source error handling in gd.Image.prototype.watermark().
For a great justice
More tests for gd.Image.prototype.resize({method: crop}) and some code reformatting
Added gd.Image.prototype.crop() as a shortcut to gd.Image.prototype.resize({method: 'crop'}
Added jpeg quality and png compression type options to gd.Image.prototype.save()