Bug 972351 - Factor URL handling into PanelViewUrlHandler (r=margaret)