implements random sampling in SampleNode

Hi Stefan,

I added two random sampling methods to SampleNode, a fixed number of randomly chosen records, and fixed-probability sampling. Included unit tests (they do not test for true randomness, only the dependence on the random seed) and some minimal docs.

Best,

Miklos