Merge pull request #176 from mjpieters/funkload-export

Complete refactor of the funkload export.
Fix test suite for funkload export.

This exposed a bug in the way we quote the formatted traceback value; `quoteattr()` **adds** (single or double) quotes for us.