add explicit shapes to TestTransf2: fixes the fail w/scipy PR/2588
REF: add shapes to Transf_gen, small cleanups
Merge pull request #1034 from josef-pkt/distr_args

Fix TransfTwo_gen and ExpTransf_gen distribution classes.