Test for bug 815276
Clear the HasTextNodeDirectionalityMap property from the text node when deleting the map. Bug 815276, r=peterv
Test for bug 815043
Don't set AncestorHasDirAuto when binding a <bdi> element to the tree. Bug 815043, r=peterv
Clear element from nsTextDirectionalityMap when unbinding. Bug 819623, r=peterv