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.
Merge pull request #78 from dominikgrewe/local_state

Move global RNG state into cutorch table.