Each plugin maintains its own random-state

Each plugin creates its own random-state with
`random-state-from-platform', and passes that to the pseudo-random
functions it calls.
Merge branch 'master' of github.com:aidalgol/cunning-bot

Merge changes from ijp.