Indonesia has spent months trying to persuade investors that its economy is on the right course. A weakening rupiah, mounting budgetary pressures and a series of contentious policy decisions have made that task harder.