generate-glean-tests.py: convert getopt to argparse

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Create new file: framework/argActions.py

This file is intended to contain custom argparse actions. The biggest
advantage this gives us is that code can easily be shared between
argparse instances.

For example, the first class included is parseList, this class reads a
newline separated list file and returns an array, after expanding out ~.
This function is currently implemented separately in both
piglit-summary.py and piglit-summary-html.py.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary: replace parse_listfile with argActions.ParseList

Touches piglit-summary.py and piglit-summary-html.py.

Makes codes easier to read and work with, since argparse now does all
the work of dealing with list files.

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