test of branching
Took out ThreadLocal idioms and code in favor of more "functional"
approach.  Added integration tests to complete what's present in the
Python BasicTemporalMemoryTest from the temporal_memory_test.py
Merge remote-tracking branch 'origin/concurrency_rework'