Adding JImage::cropResize

Integrating with createThumbs method

Code style fixes
Merge pull request #1751 from dongilbert/cropResize

Adding JImage::cropResize