Added CMake switch for lua or torch package paths

The default is the existing torch package paths.
Exposed padding parameter (SpatialConvolutionCUDA)
Merge branch 'master' of https://github.com/andresy/torch
Merge pull request #140 from akfidjeland/package-path

Added CMake switch for lua or torch package paths
Added missing test
Merge branch 'master' of github.com:andresy/torch
More CUDA testing.
Using a default scale in Module.backward().

This should not affect anything, as modules are always
used within containers. Mostly important during testing.
Added CudaTensor.expand and CudaTensor.expandAs
Added test for CudaTensor.expand

The test fails
Added test for cuda-cuda copy of non-contiguous tensor

The test fails.
Bugfix: copy from zero-stride cuda tensor

Previously copying from a cuda tensor with an inner stride of zero would
fail with no data being copied. This affects e.g. copying from an
expanded tensor. This commit performs these copies correctly. Copying
*into* a tensor with an innermost stride of zero will still result in no
copying, but such a copy operation is in any case not well defined.

The tests for CudaTensor.expand and non-contiguous copying now pass.
Merge pull request #142 from akfidjeland/cuda-expand

Cuda expand
Added test for CudaTensor.{mean,var,std}

Two tests (the dimension-wise means) currently fail.
Added single-dimensional CudaTorch.mean

i.e. the form
	y = torch.mean(x, dim)
Fixed documentation for torch.var
add custom gnuplot style string option,
add ability to pass in multi-column data
Merge branch 'master' of github.com:andresy/torch
Merge pull request #143 from akfidjeland/cuda-mean

Cuda mean
Let print() to print a new line.