Add minibatch support for nn.JoinTable and nn.SplitTable

The method setNumInputDims allows forwarding both minibatch and
non-minibatch tensors through the same module.
If this method is not used, the behaviour of these modules is the
same as before.
typo
Merge branch 'master_remote' of github.com:jonathantompson/nn into softplus_improved
Merge pull request #18 from jonathantompson/softplus_improved

Softplus improved
Merge pull request #19 from jonathantompson/constant_funcs

Added very simple add and mul constant modules.
typo fix!
Remove setNumInputDims method in JoinTable and SplitTable

Now nInputDims is an optional parameter in the constructor of these modules.
Add nn.View module

This module creates a new view of the input tensor without copying it.
Merge pull request #17 from sergomezcol/master

Add minibatch support for nn.JoinTable and nn.SplitTable
Merge pull request #20 from sergomezcol/view_module

Add nn.View module
Added SpatialUpSamplingNearest module.
Merge pull request #21 from jonathantompson/upsamplingnearest

Added SpatialUpSamplingNearest module.
removed fprop test for SpatialUpSamplingNearest.
Merge pull request #22 from jonathantompson/test_fix

removed fprop test for SpatialUpSamplingNearest.
Add assertion in nn.View constructor

Even though torch.view accepts a wildcard argument (-1) for one of the sizes,
nn.View cannot handle minibatches when using this option.
Update containers.md

Broken link
Merge pull request #23 from Atcold/patch-1

Update containers.md
Add setNumInputDims() method to nn.View

This allows to use minibatches when using -1 for one of the sizes.
Merge pull request #24 from sergomezcol/master

Add mini-batch support for nn.View
Fixed the Linear stage when the output size is 1.