Implemented destroySynapse, started destroySegment and tests
Implemented destroySegment
Using googletest assertions instead of deprecated ones
Removed TODO
Pass by value instead of reference wherever possible
Revert "Pass by value instead of reference wherever possible"

This reverts commit 76cbea1fdeee1ca6c2bf5c11cbd820d3f612e21c.
Implemented leastRecentlyUsedSegment
Added TODO
Added parameter to constructor: maxSegmentsPerCell
Adds capnp common includes and darwin64 lib/bin.
Updates to CMakeLists to include capnp/kj.
Add -static-libgcc -static-libstdc++ to CMakeLists.txt
Check if platform is Linux and compiler is GNU, then set -static-libgcc -static-libstdc++
Remove the redundant STDLIB.
Merge pull request #240 from pradeepto/static-nupic-core

Add -static-libgcc -static-libstdc++ to CMakeLists.txt
namespaces: "nta" replaced by "nupic"
Reusing segments when hitting the limit
Fixed bug with numSegments and numSynapses
Remaining code
folder: "nta" replaced to "nupic"