THC headers installed along with TH headers

... to enable development of external cuda-based packages.
Merge pull request #151 from akfidjeland/thc-headers

THC headers installed along with TH headers
Added nn.Max() for CUDA, with restrictions.

The main restriction is the dimension, which has the
be the innermost dimension.
Fixed Max.cu (wrong indices, and the test was not catching it)
added support for luarocks (2.0.13)
remove torch7 rock
oops, added missing FindMD5.cmake file
install torch7 fake rock if needed
find md5 bug fix
luarocks: added default servers including torch-rocks from github
Added a flag to deactivate CUDA.
luarocks: fix external package install
Merge branch 'master' of github.com:andresy/torch
Commenting out socket dep for now: it's too hard to get to work.
Merge branch 'master' of github.com:andresy/torch
add Torch_SRC_PKG_PATH to be used in TorchDOK.cmake and TorchWRAP.cmake.