In its 66 years of existence, Pakistan has been far from democracy and nowhere near a beacon of Islam.