Perform all the writes in close

This fixes the bug reported in issue #64.
fixing -[JUnitReporterTests testTestResults]

@gresrun changed the name used in the <testsuites ...> tag.
Add JSON Compilation Database Reporter
should have a newline after ``` in markdown

This was preventing Marked.app from working.
Added a list of failed tests with standard and error output at the end of the action output. Also added reference numbers similar to footnotes.
adding note about the JUnit reporter
Merge pull request #59 from facebook/jmattdavenport/failed-test-summary

Added a list of failed tests at the end of the action output.
[xctool] otest-query for enumerating test classes in a test bundle
option for parallelizing running of individual test suites inside a target
Only printUsage when -help is present
Merge pull request #69 from bigkm/pr/dont_print_usage_on_error

Only printUsage when -help is present
Merge pull request #68 from facebook/yiding/parallel-test-running

run test suites inside test binaries in parallel by executing the test binary multiple times
Fixed indentation bug that occurred when printing multiple failures.