Output function in the NNWizard

- Add the obligation for the user to enter a valid MathFunction for the
output function of the neural network
- Cast to NNWizard and pages of the wizard are now using qobject_cast
- The NeuralNetwork created takes the MathFunction as its outputFunction