turned nntools.layers into a directory so we can add submodules. modified nntools.nonlinearities.rectify implementation, it's a bit faster this way.
make InputLayer support input tensors of arbitrary dimensionality
more persistent link for the 'optimized' nntools.nonlinearities.rectify implementation