Replaces use of numpy.random.RandomState in coordinate encoder with Random class from NuPIC.
Fix minor bugs.
Fixes coordinate encoder tests to be less sensitive to randomness.
Merge pull request #1526 from scottpurdy/fix-random

Replaces use of numpy.random.RandomState in coordinate encoder with Rand...