Bug 865929 - Add pref to limit the size of the canvas image cache r=jlebar,jdm a=tef+