Moody's shocked bond investors this week with a surprise two-notch downgrade that put Brazilian oil company Petrobras in junk territory.