BUG: make stats.f_oneway work with integer array input.

Closes gh-3376.
Merge branch 'pr/3416' into master.

Reviewed at https://github.com/scipy/scipy/pull/3416