extract out has_html_pipeline as gem

See https://github.com/doitian/has_html_pipeline