Create metrics for evaluating Layer 4 sensorimotor inference

Fixes https://github.com/numenta/nupic.research/issues/13.
Builds on https://github.com/numenta/nupic.research/pull/30.
Depends on https://github.com/numenta/nupic/pull/1346.

cc: @subutai