Fixed bug where constructor parameter dutyCyclePeriod was being ignored.

Fixed bug where constructor parameter dutyCyclePeriod was being ignored.
Spatial pooler bug fixes and improvements

Fixed bug in initialization of minActiveDutyCycles. This bug was causing boosting to occur very aggressively in the beginning. This in turn causes the SP to learn bad SDR’s.

Added separate spatial_pooler_compute_test.py for doing end to end tests of the compute function. We primarily had unit tests of the individual methods before with no tests of compute. This test is relatively basic but will catch some failures that the other tests do not.

Started implementing a test of SP boosting. Currently only Phase 1 is implemented.

Added printParameters() to the python spatial pooler to match the CPP ones. This is helpful for debugging.

The new spatial poolers will now print out the main construction parameters if spVerbosity >= 1

Improved some of the comments.
Merge branch 'master' of github.com:numenta/nupic into sp_boost_bugfix
Implemented phase 2 of SP boost test.
Fix for backward compatibility failure
Implemented phase 3 of SP boost test.
Merge branch 'master' of github.com:numenta/nupic into sp_boost_bugfix
Merge branch 'master' of github.com:numenta/nupic into sp_boost_bugfix
Misc pylint fixes
Merge branch 'master' of github.com:numenta/nupic into sp_boost_bugfix
Temporary change to debug intermittent travis failure
Potential fix for one of the intermittent Travis failures

Added convertPermanences to transfer permanences from one SP to another. Use this function to help resolve drift in permanences.
Merge branch 'master' of github.com:numenta/nupic into sp_boost_bugfix
Merge branch 'master' of github.com:numenta/nupic into sp_boost_bugfix
Fixed little typo.
Boost test complete (hopefully)

Fixed bug in how the tie breakers are used in do inhibition. In the implementation a random tie breaker is generated on every iteration. This leads to different SDRs for the same input, even if no learning or other changes have occurred. We do need a small random tie breaker, but the random offsets can be set during initialization.

Implemented phase 4 of boost test. This test is now complete.   Made test a bit more robust to randomness by increasing the number of columns. Turned learning off to isolate boosting related effects.
Fixed assertion that was too tight
Merge pull request #464 from subutai/sp_boost_bugfix

SP boost bugfix - this merge handles a good chunk of the problems for Issue #462. I will work on it a bit more to see if there is anything left before closing off the issue.