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.