Some changes for attention allocation

In conjunction with https://github.com/opencog/external-tools/pull/29. Need not be merged yet but I would like to encourage further discussion as started [here](https://groups.google.com/forum/#!topic/opencog/xh0-dbh74S8). FYI, @cosmoharrigan.