This week's attack on a Shiite mosque in the capital stunned Oman, a quiet nation long spared militant violence