Refactored doFilter to use isGzipPreferred which can be overridden by subclasses.

Signed-off-by: Andy Keller <andy@tractionsoftware.com>
Merge branch 'teampage-9.0.7.v20131107' of https://github.com/tractionsoftware/jetty.project into teampage-9.0.7.v20131107