Essays in Behavioral Macroeconomics and Mechanism Design