Bug 1041822 - Add LookupOrAdd to nsClassHashtable. r=bsmedberg
Bug 1051102 - Make mPackagesHash be a more modern hashtable.