Captive pygmy killer whales are really nasty also. They howl loudly (like wolves) and actively charge against humans when in the same pool. They need open and deep water so is understandable.
Bootlenose dolphins could hit and kill easily an human but probably only if seriously injured or restrained (or if a baby dolphin is in serious danger). Dolphins seem to be really smart and friendly even in the most dangerous situations for humans. Most are very curious with pregnant women for example. Could be really easy for the dolphin to kill the human foetus in this situation with a couple of hits of the beak but this never happens. To try to 'rape' humans is a much more frequent behaviour in male bootlenose dolphins (Not, I'm not joking).
Common dolphins probably not, their beak is too much fragile to take the risk to harm an human. A dolphin with a break mandible is a dead dolphin.
Ziphiidae probably could kill easily a human. They have the character and the strenght, although no case has been recorded I think... humans normally don't share the same space than beaked whales and its sharp and big frontal tooth. I did not advice to try to swim between two males figthing anyways.
Pygmy sperm whales are not aggresive for humans even when injured or stranded, and I'm really happy with it. They will readily defecate over you instead and I can personally assure that is a very sticky red jelly thing but you really don't die for this.
There are dolphin attacks but I have not heard of a fatality. But one thing to consider is that some species of dolphin are more aggressive and sometimes attack and kill other kinds of dolphins and porpoises. For no reason that we can discern.
Regardless, I don't think the fact that all dolphins aren't nice to humans means anything against their intelligence/sentience. All humans aren't nice to other humans.
http://science.kqed.org/quest/2011/07/20/why-killer-whales-d...
https://news.google.com/newspapers?nid=2245&dat=19960117&id=...
And, just for the nerd department, lord of the ring's orcs and orca whales share probably the same meaning. Orcus was one of the names from underworld (the hell) in the roman empire. Clever Mr. Tolkien...
here's one: https://en.wikipedia.org/wiki/Ti%C3%A3o
There have many documented cases of dolphins rescuing drowning human swimmers or protecting surfers from sharks. I feel like it takes a good amount of intelligence and empathy-like qualities for dolphins to be able to recognize the peril of a human creature--foreign to their natural environment--and decide to treat him as one of their own where there is no obvious benefit for the dolphin.
My opinion is that we should give them the benefit of the doubt when it comes to personhood.
EDIT: This video of killer whales is also perplexing. https://www.youtube.com/watch?v=DWsN63PRCW8
A group of killer whales beach themselves to grab some sea lion pups for lunch, then proceed to toss them around and eat them. There was one seal they decided not to eat so one of the killer whales beached himself again in order to release it safely on land. It really does feel like there's complex mind behind this behavior.