Add tuna/rand.h header and implementation.
Add draft of generic interface