added type support to baseTensors and Nodes
adding tensortype to BaseTensor views
BaseTensor:index() can be easily inherited and reused
adding imageCHWB for cuda convolutions
cuda unit tests for datatensor and imagetensor
Finished ImageTensor test-cuda
added input/output act/grad/type
removed tensor_type
fixed basetensor and model conversion to cuda