this also shifts a bunch of forked pref stuff out of the cookie backend and into an app-specific place, which is good for the GRE. b=217286, r=mvl, sr=darin. git-svn-id: svn://10.0.0.236/trunk@148021 18797224-902f-48f8-a5cc-f745e15eee43