make ToTensor() cope with all PIL image types (#67)
make ToTensor() cope with all PIL image types (#67)

YCbCr breaks the code without warning. Changed the code to make `ToTensor()` cope with all PIL image types.
pytorch/vision,pytorch/vision,pytorch/vision,jrdurrant/vision,pytorch/vision,pytorch/vision,pytorch/vision