toolbox: add method to ensure a tool is visible in the tree

(integrated from trunk branch change d859426 by Todd Whiteman <toddw@activestate.com>)