Added documentation for majority learner (closes #25).