Implement connection pool
Merge pull request #6 from alexeyvo/test

Implement connection pool
Added connection pool tests
Added connection pool tests
Changed from using mutex to use spinlock
Moved spin_lock to its own files
Added spin_lock class
Added spin_lock class
Removed custom spinlock logic and use new spin_lock.h