initial revamp of torch7 tree
various cmake improvements/debug
cmake files cleanup
fixed cuda warnings
removed id mechanism from luaT
cuda package now complies with the new luaT API
lab->torch (cuda tests)
Fixed cuda test to avoid using default types.
added cuda convolutionMap
fixed the bugs in cuda SpatialConvolutionMap, works for equal strides
uncommented tests in cuda
New CUDA modules.
Merge branch 'master' into noid

Conflicts:
	extra/cuda/pkg/cutorch/TensorMath.lua
Cleaning up CUDA code base. Got rid of useless device syncs
Merge branch 'cudacopy'
Added and tested SpatialMaxPooling for GPU.
Threshold for CUDA.
Added Sigmoid on CUDA.
Fixed some GPU modules ; made SpatialLPPooling compat with CUDA.
Integrated CUDA conv routines from cuda-convnet library.