summary.py: Adds method to NewSummary to generate junit XML

This method is about 50% faster than the existing implementation which
uses junit.py.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
piglit-summary-junit.py: Use NewSummary.generateJUnit

Stop using the old JUnit generation code, and start using the new code.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
junit.py: Remove unused file

Since this is no longer in use, remove it

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
piglit-summary.py: convert from getopt to argparse

Argparse requires less code, and is much easier to read and maintain.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary.py: Adds generateText() method and private helper

These two new methods allow the new summary backend to generated an
equivalent output to the old summery backend output of
piglit-summary.py.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
piglit-summary.py: Use NewSummary for text generation

This changes piglit-summary.py to use the new text generation of the
summary backend, instead of the old.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary.py: Remove all of the old summary backend

Since nothing now depends on the old summary backend, delete it. This
first eliminates dead code, but also ensures that no new functionality
becomes dependent on this code.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary: Rename NewSummary to Summary

The old name existed simply as a holdover until the Summary name could
be cleared up. Since it is now available, use the Summary name.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
piglit-summary.py: Make -s and -d mutually exclusive

Since -s/--summary will always override -d/--diff don't allow them to be
called together. While this may seem a little confusing, the idea of
asking for --diffs and then not getting them is a bug in the original
implementation.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>