Add support for downloading layers with external URLs and foreign/non-distributable mediatypes. This ensures that encountered windows images are downloaded correctly. We still need to filter out the extra windows resources when pulling linux, but this is a step towards correctly supporting multi-platform images. Signed-off-by: Stephen J Day <stephen.day@docker.com>