Fix the cuda subtensor tests that were broken by my change to the 0_dims test in tensor.
Fix problems with reduction.
Add a test for GpuCAReduce