Implement new C++ data structure to power algorithms

WIP

Starts https://github.com/numenta/nupic.core/issues/216.
Should these be pointers, i.e. Activity *allActivity?