Zynga’s first quarter results edged past analysts’ expectations, pushing shares of the company that has a lot riding on the continued success of Facebook higher.