Allow passing random seeds to RandomForest::learn and friends from Python

Also fixes the python interface to onlineLearn(), but this functions segfaults when used.