Going public for a company means first of all to be able to raise fresh capital. But an initial public offering can end in disaster, too.