Fixed key leaks in TreeModel scoring and model adaptation.

Tree model scoring code forgot to delete temporary result.
Model adaptation code forget to mark a vector switched to enum.
Test for fix of PUB-65: incorrect report of MSE.

Test run GBM with validation (== train data) and without validation.
List of MSEs shoudl be same.