Overhaul WebKit2 preferences code to reduce duplication
Created attachment 75350 [details] Patch
Landed in r73154.