CudaTensor methods

This PR includes the following changes:
 * fixed the indentation in test.lua (3 spaces like the rest of the library)
 * harmonized test with torch7 such that units can be invoked like so:
  * `th -lcutorch -e "cutorch.test{'view','viewAs','repeatTensor'}"`
* added the following methods (without these, they have to be invoked like `torch.view(res, src, ...)`) 
 * torch.CudaTensor:view()
 * torch.CudaTensor:viewAs()
 * torch.CudaTensor:expandAs()