implemented c++ spatial pooler serialization
Added serialization tests for spatial pooler
added more tests whether randomized learn parameter
Merge branch 'master' of github.com:numenta/nupic into cpp_serialize
fixup
stylistic changes + changes in compatability tests
Merge pull request #268 from gilsho/cpp_serialize

Implemented serialization for C++ Spatial Pooler
Merge branch 'master' into clang-warnings
Warning: sp.avgConnectedSpanForColumn2D_ returns a Real

dont cast to UInt