Add a bip buffer implementation

I derived this from Simon Cooke's since it was under a permissive
license. However, I converted everything from C++ to C, and stripped out
all the Windows-specific stuff. I also altered the API to be more
C-centric instead of C++-centric.
Merge branch 'master' of github.com:awilfox/supergameherm