RPX CORPORATION SERIES B PREFERRED STOCK PURCHASE AGREEMENT July 15, 2009