Improve customization options

Two improvements which allow better customization from code:
- the filters and context used to configure html-pipeline can now be easily overriden/monkey-patched
- the file the preview is written to can now be configured with `:preview_file`