Update the samples in examples/01_prepare
Fix the storing of fractions to meta in mvalib.prepare
Create a training mvalib.train API.

Also update the examples/02_train.py example so that it would use
this new API.