Bug fixes for Issue 340


Relates to issue #340

Reduced the amount of drift between implementations by reducing the precision with which we initialize permanences. There is still some drift in permanence values though.

Fixed serialization bug with FlatSpatialPooler. The swig bindings were using inherited pickle implementations from the parent class SpatialPooler.

Got previously failing tests to pass.