Essays on Credit Supply, Government Policy, and the Housing Bubble