Essays on International Debt and the Macroeconomics of Small Open Economies