Preliminary shared-buffer structure.

Still plenty to do...
Fill in more shared-buffer code
Handle closing shared-buffer channels
Documentation, initial unit test
Add tests, fix bug
Merge pull request #9 from eapache/shared-buffer

Shared buffer