Yahoo and Facebook enter into "advertising partnership" in settlement of their patent infringement lawsuit.