Bug 843889 - Factor tabs code that is not Sync-specific out of org.mozilla.gecko.sync. r=rnewman