Bug 1083793: Make nsITreeBoxObject and nsIBoxObject scriptable again, r=bz

This scriptability is needed for comm-central to work properly, and hopefully
it is only temporary.