Create a Temporal Memory implementation that uses C++ Connections

Depends on https://github.com/numenta/nupic.core/pull/227.

Fixes https://github.com/numenta/nupic/issues/1468.
Fixes https://github.com/numenta/nupic/issues/1507.