fix error (warning): (bool) checksSSE() vs (int) checkSSE()

this was issued as a warning, but actually is an error:
bool!=-1 is always false ---> SSE speedup did not work,
will be working now again!
fix warning 'unsequencedmodification and access to "k"'

this is a bad practice and has undefined behavior
fix warning Wtautological-compare UInt < 0

Index& uses only UInt values, the <0 comparison is useless
made adjustments to CLARegion and SPRegion to accomodate new c++ spatial pooler
Merge branch 'master' of github.com:numenta/nupic into spcpp
fixup
stylistic changes + changes in compatability tests
DateEncoder unit tests
add self parameter to methods, remove unused imports

Netbeans advices
fixes to date test-case
test adaptive scalar encoder
semi-revert: Encoders need to be imported
add tests for CategoryEncoder
use proper self.assert() for unittests2

only assert xxx will not trigger failure, must use self.assertWHATEVER()
add init file..
formating
fix DateEncoderTest

assertSequenceEqual somehow does not work as I expected, use (array1 == array2).all() instead
some imports, etc..
fix CategoryEncoderTest
fixes AdaptiveScalarTest
DeltaEncoder unit tests