Brands are entering a new era of transparency in which they own up to mishaps and failures, and take the opportunity to flourish in new ways