Minor refactoring in passing AUC in tree builder.

+ fix of wrong property check in TreeModel constructor.