Added resizedImageWithMaximumDimension method

```
- (UIImage *)resizedImageWithMaximumDimension:(CGFloat)maximumWidthOrHeight
     interpolationQuality:(CGInterpolationQuality)quality;
```

Returns a copy of the given input, resized if either dimension exceeds the maximum, keeping the aspect ratio.  Great for making thumbnails which don’t exceed a certain width or height.