Pyflakes cleanup

Fixes issue https://github.com/statsmodels/statsmodels/issues/870

There were some tests that were duplicated in the discrete module, including one whole test class. I consolidated the two test classes, sometimes keeping a test that was stricter while other times simply removing verbatim duplicates.