Add get option labels method

Because the options of a reftrack can be an arbitrary treemodel
the option labels should describe what each level of the tree is.

E.g. first level are the tasks, second the descriptors and third level
the versions.