Rename "buffer" to "mongo_buffer".

The original declaration put "buffer" in the global scope, but we also used
"buffer" as a variable name. We can't really do that (says GCC/ANSI C).

Conflicts:
	cursor_shared.c
Removed the new file, as that should not be part of this PR.
Merged pull request #561