Added missing documentation for torch.norm
Correct computation of L0-norm

The existing norm computation correctly computes the Ln-norm for n >= 1.
For L0, however, the result is always inf due to the presence of the 0th
root. This commit adds a special case for L0, which is computed the
conventional way: by simply counting non-zero elements.
Generalised reduceDim to transformReduceDim

This is need by some kernels to be added later.
The existing reductions are implemented in terms of this (with an
identity transformation) at no cost.
Changed parameter order of transform-reduce

... for consistency with thrust::transform_reduce.
Added reducing form of CudaTensor.norm

i.e.
	x = torch.CudaTensor():rand(5,5)
	x:norm(2,1) -- 2-norm along 1st dimension
Correct computation of L0-norm for CudaTensor.norm

Same scheme as in 9b1049fc2c8e0b087d3420a37ee32977f9b281cd
Add dev/ folder to cmake
Bugfix: explicit type cast needed to compile for ARM

The templated qMin and qMax functions used in qluabrowser.cpp need to
have the same argument number type. When compiling under ARM the left
argument number is a "qreal" and right a "double". This mismatch
generates a error.
Merge pull request #131 from akfidjeland/norm

Improved norm computations
Added a reference to graphicsmagick (torch-pkg)
Changed path to packages.th7: using raw url on github.
Added CMake switch for lua or torch package paths

The default is the existing torch package paths.
Removing --use_fast_math (CUDA).

It doesn't seem to change much in terms of performance, and
is potentially causing lots of subtle precision problems.
Merge pull request #135 from bmartini/master

Bugfix for ARM compiling
Merge pull request #133 from jucor/AddDevFolder

Add dev/ folder to cmake
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