Added CascadeOutputLayerTrainingProblem and unit tests.

This problem is used during the output training phase
of the cascade-correlation algorithm.