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
Update DOCS.md
Merge branch 'master' of github.com:numenta/nupic into template_description_file_option
Merge branch 'master' of github.com:numenta/nupic into sp_boost_bugfix
Temporary change to debug intermittent travis failure
Merge branch 'sp_boost_bugfix' of github.com:subutai/nupic into template_description_file_option