Added resizedImageWithMaximumDimension method : Resizes the given input IF either dimension exceeds the maximum, but keeps the aspect ratio.  Great for making thumbnails which don’t exceed a certain width or height.