SWIG interface update for Random methods sample and shuffle.

See numenta/nupic.core#197
I wish the test method name reflected what the test checks for. When popping up the names of all tests in an editor, `testSampleSequence` doesn't give me the slightest cue what this method checks for. How about something like this: `testSampleListArgsRaisesTypeError`