Add numSegments() and numSynapses() to Connections
Using signed char instead of Byte for segment and synapse index
Using unsigned char instead of signed char
Add TODOs
Cleaned up code using auto and for in loops
Refactored CMakeLists.txt to better support a workflow that treats nupic.core as an external library.  Renames src/main to src/nta.
Fix memory-related bug
Cleaned up iterating through map using auto and for in loop
Using consistent convention
Move src/main/algorithms/Connections.* -> src/nta/algorithms/
Don't attempt to overwrite original libnupic_core.a
Include combined libnupic_core.a static lib
Added assertions for max number of segments and synapses
Small optimization
Throw exceptions instead of using asserts
Reluctantly following code convention
Formatting of documentation
Merge pull request #227 from chetan51/issue-226

Add numSegments() and numSynapses() to Connections
Merge remote-tracking branch 'upstream/master' into cmake-cleanup
Include new Connections structure