add simple buffer implement.
a little of modified to improve source.
add buffer's test cases (make test).
add buffer api to support 'getc' which have stdio.h style.
important: use tscgi/buffer.c instead of stdio.h stream.
migrate tests to new buffer stream library.
Merge branch 'feature/refactor-stream' into develop