Pattern, an e-commerce company that helps online merchants sell on third-party marketplaces, has filed for an initial public offering, reigniting debate about the viability of marketplace-reliant business models.