Added many more checks for the package __all__ lists.
Authored by: bugman 2009-09-02
Parent: [r9430]
Child: [r9432]