Moved over twonode_test from Grok trunk
Converted to unittest format
Converted print to logger
Added tests
Fixed pylint warnings
Replace try blocks with self.assertRaises
Moved over lang_py_spec_test from Grok trunk
Started moving to unittest format
Convert asserts to unittest asserts
Removed print statement
Better import
Split test up
Removed unnecessary comment
Using @unittest.skip
Formatting
Added support for new SpatialPooler classes to SPRegion

Switched cpp and py options to use SpatialPooler instead of the flat spatial poolers. The OPF should now support the new clean spatial pooler classes. The old FDRCSpatial2 class is still the default, but will change that soon.

Updated Hotgym to use the new class. Updated some of the Hotgym parameters to provide improved predictions.

Added checkpoint stress test to cover serialization bug fixed in https://github.com/numenta/nupic.core/issues/13

This is all part of Issue #340
Fixed name of test file

Needs to end in _test.py
Add submodule SHA
Resolves numenta/nupic#615. Added a note for using pip - add the --user flag if there are permission errors.
Moved over helpers_test from Grok trunk