initial revamp of torch7 tree
corrected cuda CMakeLists
cmake files cleanup
more cleanup and wrap support for external packages
Merge branch 'logical' into newpack

Conflicts:
	pkg/torch/TensorMathWrap.lua
{min,max,sum,mean,var,std}all now without 'all' in lua
minor cleanup + lua now default [instead of luajit]
removed random+lab [+forgot to modify a filename in cutorch CMakeLists.txt]
little fix (maskedSelect does not exist yet on Cuda)
Merge branch 'make-tensor-accessors-const-correct' of https://github.com/pflaquerre/torch into pflaquerre-make-tensor-accessors-const-correct

Conflicts:
	lib/TH/generic/THTensor.c
fixed cuda warnings
corrected default arguments in cuda addmv/addmm
added global function include() and replaced torch.include calls accordingly
cuda package now complies with the new luaT API
added cuda convolutionMap
fixed the bugs in cuda SpatialConvolutionMap, works for equal strides
fixed bug with non-equal strides as well
Random with Cuda.
Commiting a buggy version.
Dynamic linking.