python: fix segmentation fault based on a wrong
initialization in class Dataset.
Seems Cython cannot overload methods with various arguments
for __cinit__.
python: update test example test.py for bindings.
python: adapt evaluation methods for python interface
(needed also some refactoring in cbindings and optimization)
remove initial training error computation in each optimize method.
(Error can be only generated after the first iteration)