MongoDB Inc. posts strong second-quarter results, beating earnings and revenue estimates. Analysts raise price targets on the stock.