Merge pull request #4 from EmilWestergren/master

Added ThreadPool class
Fixed most leaks and segfaults in ByteBuffer and ReferenceCounter.
Merged.
merged
Uncommented ByteBuffer cleanup.
Added things to Event.
Commented non working code
Merge branch 'master' of https://github.com/cogneco/ooc-base
Improved performance by not callocing in ByteBuffer.
Added __destroy__ in Synchronized.
Merge branch 'master' of https://github.com/cogneco/ooc-base