bug 999031 - move list-type command line arguments to use action='append' from optparse

Changes for https://bugzilla.mozilla.org/show_bug.cgi?id=999031