initial revamp of torch7 tree
Merge branch 'master' into newpack

Conflicts:
	extra/nn/test/test.lua
First basic skeleton for package manager
torch7 now exports its own targets for external packages
cmake files cleanup
more cmake cleanup
more cleanup and wrap support for external packages
minor cmake corrections
torch lua script is now a true executable
no need to do paths.require + require!!
Merge branch 'logical' into newpack

Conflicts:
	pkg/torch/TensorMathWrap.lua
{min,max,sum,mean,var,std}all now without 'all' in lua
Merge branch 'master' into newpack
now methods & functions are both generated by wrap -- this fixes some bugs and makes things more clear
minor cleanup
added maskedSelect method to select elements using a mask vector
documentation changes for Tensor
tensor math documention : one pass...
added mv, mm and ger + better checking of addmv, addmm and addr
corrections/additions to dok
Merge branch 'newpack' of github.com:andresy/torch into newpack