SWIG interface update for Random methods sample and shuffle.

See numenta/nupic.core#197