Node::GetParentElement should use and_then instead of filtered/map.
auto merge of #2291 : saneyuki/servo/2287, r=jdm

Fix #2287