Bug 887675 bind the xul window to the hideChromeForLocation function

In order to avoid a "can't access dead object" TypeError we need to bind the hideChromeForLocation back to the XULBrowserWindow object.

I've been struggling to write a test for this but can't come up with anything to ensure that this function is applied correctly.  Help wanted.