Add THUMBNAIL_UPSCALE setting

This setting allows upscaling the source image if needed,
so that the result matches the requested size instead of being smaller.
this is a BC break for people passing the existing ``inset`` or ``outbound`` values directly