Coursera is going public at a time when more students than ever have been exposed to the potential and pitfalls of online education, a trend the online-education company has capitalized on.