Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg
Bug 912794 - Separate out the CMS globals and prefs into a singleton gfxColorManagement. r=ncameron

Preferences are now initialized at startup, then updated with callbacks. The methods that access the cached values are not checking the preferences. This lets us better control which thread reads the prefs.

--HG--
rename : gfx/thebes/gfxPlatform.cpp => gfx/thebes/gfxColorManagement.cpp
rename : gfx/thebes/gfxPlatform.h => gfx/thebes/gfxColorManagement.h
Bug 887518 - Move loadAddonManager() to test_provider_addons.js. r=gps