SWIG interface update for Random methods sample and shuffle.

See numenta/nupic.core#197
How do you know that the wrapper checked both args? You probably want to make/validate two calls to be sure: one where only choices is a list and another where only population is of list type.