MAINT: clean up changes to stats/mstats_basic in PR 3084.
BUG: fix bug introduced by PR 3408 in mstats.linspace.

Also clean up mstats_basic tests further for PR 3408 changes.
BUG: fix integer overflow in kurtosistest functions.

Also filter some test warnings.