Merge pull request #22 from ispiridonov/master

Image.pm:
Image:pm
- add validation of jpeg extension to resize method