Generalize reproducible inserted ID generation

For example, calling `insert` inside a method body will now return
consistent IDs on the client and the server, and latency compensation
will work properly instead of producing flicker.

Code that wants a random stream that is consistent between method stub
and real method execution can get one with `DDP.randomStream`.