[CF-14] improve servlet filter perf

This is probably minor. But it seems awkward to have the constructor takes as input the whole XSLT string. Any reason, you are doing it this way? It's not a big deal though.