1) add entity relation task solved by searn
2) make history_info, add_history_to_example, and remove_history_to_example
public, so that users can define their own history features.
Fix a bug in passing parameters