Snapchat's co-founders have started a foundation to support education with a gift of 13 million shares of stock from their upcoming IPO.