Re: @Eponymous Cowherd
The time allowed for debate has nothing to do with whether it is undemocratic or not. There is nothing enshrined in the UK political system that requires an MP to consult their constituents before voting on a bill. It's good form for them to, but if you look at when the system developed (admittedly before there was any effective distant communication or rapid travel possible), it was often the case that the MP completely ignored the people who elected them once they were in office!
Where there are serious problems are that you cannot currently sack your MP. They can be deselected by the party, but that does not force a by-election, which means that they can sit not representing you until the next election.
Couple that with the whipping system that can force an MP to toe the party line, and that's undemocratic.
We really could do with a local referendum system that allowed us the constituents to force our MPs to ignore the whip for particular issues. That might offset some of the major stumbling blocks with our system.
Please note that I agree with you that what's happened is an utter travesty, but it's not undemocratic, at least not according to the system.