Pre-compile HTML-stripping regexes.

I'm using the HTML-stripping function extensively in one of my add-ons, and it's proving to be the slowest part for some tasks. After pre-compiling the regular expressions used, I gain about a 25-45% speed boost for my particular use-case. I figured the rest of the application can benefit from this as well.