Essays On The Macroeconomic Effects Of Imperfect Banking Competition And Other Financial Frictions