BFS: Change API to return references. #1

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
platform: Add wordsize.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
threadlocals: update

* Fixed rng seed
* init is called only once.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
random: Fix random number generator.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Add unittest for random number generator (distribution only).

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>