The 145,000-word document did more than just free a nation from colonial rule. It also attempted to free Indians from the shackles of a deeply illiberal past.