Added HierarchicalMultilabelModel class

I think `m_num_classes > 0` should hold always, regardless if we're in training-mode or not.