Don't upsize uploaded images.
Image resizing enhancements.

- Don't save medium/thumbnails where the larger format is small enough.
- Don't upsize video thumbnails either.
Merge pull request #1132 from solarissmoke/bug-image-upsizing

Ushahidi should not upsize uploaded images, only downsize them.