Create a General Temporal Memory implementation that uses FastTemporalMemory

Depends on https://github.com/numenta/nupic/pull/1508.

Fixes https://github.com/numenta/nupic.research/issues/83.