Fix get/setRNGState for gaussian state.

Fixes #8
added optional mode argument to torch.serialize/deserialize
updated torch.serialize/deserialize doc
Merge pull request #31 from timharley/rngstate_serialisation

Fix get/setRNGState for gaussian state.
Merge pull request #40 from nicholas-leonard/master

torch.serialize/deserialize
removed flaky test

This test was flaky since the potrf function in LAPACK doesn't actually check whether the passed matrix is Hermitian and of full rank, and the test previously passed/failed depending on random initialization.
added THTensor_(renorm) prototype
added THTensor_(renorm)
cwrapped torch.renorm
renorm only renormalizes rows with greater norms than maxnorm
started renorm unit tests
renorm works (debugged and unit tested)
Merge branch 'master' of github.com:torch/torch7
Added renorm doc to maths.md
Added dropout ref. and equivalent code for renorm
Used double to hold the 'p' for bernoulli() and geometric() instead of 'real'.
Merge pull request #43 from fidlej/topic_non_float_bernoulli

Used double to hold the 'p' for bernoulli() and geometric()
unit test uses same function as in doc
Merge branch 'master' of github.com:nicholas-leonard/torch7
Merge pull request #41 from GeorgOstrovski/master

removed flaky test