SWIG interface update for Random methods sample and shuffle.

See numenta/nupic.core#197
I don't know anything about SWIG, but this seems suspicious: since `choices` was passed in and not allocated by this function, why are we incrementing its reference count upon return?