Implement new C++ data structure to power algorithms

WIP

Starts #216.
Obsoletes https://github.com/numenta/nupic.core/pull/217.
Is this how we check results in tests?  With the Tester class there were specific macros. If we are now using gtest, there may be another scheme.