Essays On Financial Frictions, Misallocation And Development Dynamics