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.
Use a list comprehension or generator expression instead of `map`

```
return set(index + numCells for index in activeExternalCells)
```