Add #aspect_ratio helper method

This pull request adds a method for calculating an image's aspect ratio, which simply returns the image's width divided by its height.