SWIG interface update for Random methods sample and shuffle.

See numenta/nupic.core#197
What about the case where size of ```choices``` is bigger than the size of ```population```? Where is that handled?