SWIG interface update for Random methods sample and shuffle.

See numenta/nupic.core#197
No because they aren't Python objects and don't have a ref count. If we were to support Python sequences then the elements would be Python objects and yes we would have to do that.