initial commit with requested changes for quirks mode implementation.
finialized requested changes to quirks mode implementation.
added Quirks Mode test cases to CommandLineParserTest.php and GetoptTest.php
phpunit now succeeds instead of failing as it did with the first commit.
there are several TODOs that will be worked on after this merge.
the implementation of quirks mode processing in addOption uses some copied code - this will be fixed in the next pull request.