Add support for improved preview interface. 

The new interface supports a quality argument which allows preview to override others. The makes sense for the gsojson/ text preview which both handle `gjson` and `geojson`.