For decades, Morocco, the only North African nation without large quantities of oil, combed the surrounding desert in search of fossil fuels. But roughly a year and a half ago, the country turned to a resource that exists in abundance across the region: the sun.