Minimize torbutton globals exposed in browser window

Right now there are a number of variables and functions that are exposed globally in the browser window, from chrome/content/{tor-circuit-display.js,torbutton_util.js,torbutton.js}. We should make sure the globally available symbols are only the strictly necessary.