MAINT: put more classes back into the scipy.stats.distributions namespace
MAINT: attempt py3 compatibility fix
MAINT: move redundant code into a function
MAINT: add code comment and make a small code change
Merge pull request #3804 from argriffing/stats-gen-api

MAINT: put more classes back into the scipy.stats.distributions namespace