Predominantly muslim, with more than 17,000 islands held together by 222 infrastructure projects, Indonesia has gone through dictatorships, communist ideology, military secularization and natural disasters, yet it has developed a surprisingly strong economy with a democratic outlook.