reader: advance offset after initializing static bson.
examples: add bson-to-json example program.

This program will read a file that contains a sequence of bson documents
and print them out in json form, one document per line.

Example:

  ./bson-to-json tests/bson/test1.bson
  { "int" : 1 }