Any dog is able to seriously hurt someone given enough of a chance, but I do understand larger breeds have more ability to seriously hurt someone if they so wished.
However, banning all large/medium breeds of dogs is just a ridiculous solution. My labrador is a working dog, doing jobs that smaller dogs just wouldn't be able to and aren't bred for. Not to mention the fact that my dog has been specifically bred for the purpose of his job and is therefore one of the most effective to do it (the coat type, strong swimmer etc). The collie on our farm is also a large dog but is also a working dog to herd the sheep. Considering collies are the perfect size and are born with their herding instinct, which small dog do you suggest we replace her with? If you would like to come and train a tiny terrier or a pug to do the daily work she does, you're more than welcome to, as long as their stamina, skill, discipline and ability can match hers, of course.
Banning millions of families from owning beloved, well trained family pets, companions as well as essentially working tools in some circumstances is just impossible. So many good owners with fantastically well trained and obedient dogs should not be punished because there are some people that cannot train a dog or choose not to.
I don't know what the solution is as dog licenses didn't work and regulation of dog ownership/training would be difficult to police in general, but simply banning all large dog breeds isn't the answer.