Move global RNG state into cutorch table.

Create a new struct for cutorch's global state, `THCudaState`, currently
only containing the global RNG state, `THCudaRNGState`.
All RNG methods take the state as their first argument.