SWIG interface update for Random methods sample and shuffle.

See numenta/nupic.core#197
Again, no guaranteed that the wrapper tested both types. You want to additionally make/validate two calls, one with just one arg invalid, and the other call with just the other arg invalid.