implement buffer-push and writer
optimize BufferPush & add test cases
Merge pull request #2 from miniflycn/master

merge from miniflycn/badjs