2416 chtmlpurifier do not instantiate htmlpurifier on each purify call

Code for #2416 enhancement. Hope this time is fine.