added examples for GBT
Renamed numClassesForClassification to numClasses everywhere in trees and ensembles.
This is a breaking API change, but it was necessary to correct an API inconsistency in Spark 1.1 (where Python DecisionTree used numClasses but Scala used numClassesForClassification).

Added examples to programming guide for all ensembles.