Use nsIContentPrefService2 instead of old one

To avoid deprecation warnings from nsIContentPrefService scince 26.0a1 [Bug 850219]