The insitu parsing example in the tutorial is using a local char
buffer inside a nested scope. After leaving the scope, the
resulting Document object still references this (now invalid)
memory locations.
Some compilers reuse this space on the stack for other local
variables later in the function, corrupting the original document.
Drop the local scope to extend the lifetime of the buffer.
Makes GenericValue::FindMember() public.
Added array element and object member iteration APIs in examples.
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@83 c5894555-1306-4e8d-425f-1f6f381ee07c