BUG: fix shuffling of flexible dtypes and masked arrays

closes gh-4270 and gh-3263
BUG: handle non integer types for multinomial/dirichlet size

Closes gh-3173
Regenerate cython file for latest fixes
Merge pull request #4388 from juliantaylor/mtrand-fix-1.8

mtrand fixes backport for 1.8