Refactor data_transform to allow datum, cv:Mat and Blob transformation

Move data_mean into the data_transform class to facilitate data transformation. 
This way Data layers don't need to hold it and pass it all the time. 

Should be `transform_param` and not `window_data_param`. Every data layer should use the same parameterization for the common transformation options, even though the operation is different for WindowDataLayer.