In the context of legal and political history, how did the abolition of the slave trade, the introduction of habeas corpus, and the prohibition of bills of attainder contribute to the development of modern democratic principles and human rights protections?