Fix idiotic bug in random64

This is why we test.
Another stupid bug, this one in random_uniform64
Give users a way to find out how much space to allocate for a state
Unit tests for (most of) the core API
Rename init_counter to seed_counter.