fix pycaffe input processing

- scale feature space after mean subtraction
- represent images as single / np.float32 even after resizing
- make input scale relative to 255

pycaffe represents images as floats in [0, 1] because of scikit-image,
but the Caffe data default is uint8 in [0, 255].

See #525.