Bug 999575 - Add an already_AddRefed<> Put method for nsRefPtrHashtable. r=froydnj
Bug 972601, part 1 - Get rid of pointless start state in nsTreeStyleCache::GetStyleContext. r=dbaron
Bug 972601, part 2 - Delete trailing whitespace from nsXULTreeStyleCache. r=dbaron
Bug 972601, part 3 - Make nsTreeStyleCache use auto pointers for its hashtables. r=dbaron
Bug 972601, part 4 - Convert nsTreeStyleCache::mCache to nsRefPtrHashtable. r=dbaron
Bug 972601, part 5 - Convert nsTreeStyleCache::mTransitionTable to nsClassHashtable. r=dbaron

This also turns nsTransitionKey into an inner class of nsTreeStyleCache, and changes it from an nsHashKey to a class to be used with nsGenericHashKey.

It also changes the intermediate values of the hash computation to uints, instead of signed ints, as that seems more right.
Bug 972601, part 6 - Replace nsDFAState with uint32_t in nsXULTreeStyleCache. r=dbaron

It is now a pointless wrapper around uint32_t.