Replace implementation-dependent code to seed the random-state with
portable library MT19937.

Also, fix test cases for `rank` that I broke in ecce236.
Merge branch 'master' of github.com:slburson/fset