Refactor garray

Move kernel functions to distbase/cuda_base
Move GPUArray new operation to garray/new_gpuarray
Move layer-related operation to garray/operation
Make input and output 4D array
TODO: remove the invocatio of cudaconv.sum in distbase/cuda_base