Jordan has managed to stop violence in Iraq and Syria from spilling over its border, but it hasn't been able to protect its economy.