refactored thumbnail generation to use NamedTemporaryFile instead of dummy.jpg,
ensures no mixup in generated thumbnails.
test for create_image_thumbnails command
force option to re-create thumbnails
install libjpeg-dev on travis - required for thumbnail tests
link jpeg lib in travis
Merge pull request #1069 from modilabs/thumbnail-bug-fix

Thumbnail bug fix