Added SP permanence init compatibility test.

Added a compatibility test to check for equivalent permanence initialization between the Python and C++ spatial poolers as suggested by @breznak.

Work towards https://github.com/numenta/nupic.core/issues/159. 
Fixes #1225.