Fixed memory leak

b.buf = new(bytes.Buffer) was allocating memory that was not being released back to the OS.
You can reproduce the memory leak by indexing a large document or multiple documents using bulk index. 

The Reset() function seems to be the better approach.

Environment:
Mac OS X Mavericks
64 bit