refactor svg servlet into exporter resource, fix pdf export dependency issue