Added settings for the JsonReader

Added a setting how duplicate keys are handled by the parser. The
default behavior is the same as before - duplicate key overrides the old
one. The parser can now be configured to be compliant with RFC 4627 and
throw an exception when duplicate key is read from the stream.