Adds option to keep the original filename and put the the thumbnail in a folder instead

Adds THUMBNAIL_KEEP_NAME which if set puts the thumbnail in a folder named like the key in THUMBNAIL_SIZES.