Fix document.dir getters and setters to (a) work and (b) conform to HTML5. Bug 151407, r=ehsan
Change tests that depended on the behaviour before bug 151407 was fixed, r=Ms2ger
Bug 730441 - Fix null-pointer crash in nsTreeColumns::RestoreNaturalOrder().  r=tnikkel
Bug 730441 - Fix null-pointer crash in nsTreeContentView::SetTree().  r=tnikkel
bug 809338 - don't flatten optgroups r=surkov