Add numSegments() and numSynapses() to Connections

Fixes https://github.com/numenta/nupic.core/issues/226.
Normally all the lines after the first in this type of comment start with a `*`