MDL-31830 coursecat: removed tree and tree_category classes