fix bug for resizing images.
FIX web_demo upload was not processing grayscale correctly
Merge branch 'master' of https://github.com/BVLC/caffe