Categories InfoBox Clean Up

Backport Category Tree Class from 2.4