New SampleExtractor class: a simple way to extract samples from the bunch of different means to store samples I devised.
Forgot to add CMakeLists.txt.
SampleExtractor now extracts samples into LabeledExamples objects.
'Cherry pick' from revision f9504c.