Makers of the addictive puzzle game are filing to go public and expected to raise up to $500 million.