[Bug Fixed] Forgot to init sum to 0 in downsample.
[Bug Fixed] Forgot to init sum to 0 in downsample.

Speed up cuda kernels by refactoring.
Change some input arguments to const.

mrgloom/libdnn,botonchou/libdnn,mrgloom/libdnn,botonchou/libdnn