Add tap reporter to test targets
Fix make dist target
Fix memory leak with error reporting in json format
Fix memory leak with custom importer not being freed
Fix another memory leak with custom importer
Merge pull request #724 from mgreter/feature/tap-report

Add tap reporter to test targets
Fix possible segfault with strdup (undefined behavior)