Germany prospered in recent years by exporting to emerging countries. Now the slowdown in emerging markets is leaving Germany, and Europe, vulnerable.