Ahmed Cevdet Pasha (1822–1895), penulis utama Mecelle