Augment monitor mixin framework

Fixes https://github.com/numenta/nupic/issues/1459.
Created this issue to track the refactoring: https://github.com/numenta/nupic/issues/1467