Addition of 'allowDuplicates' field to JSONObject class.
Default value is 'true'. If 'false' then throw a JSONException
when the same key is inserted twice into the object. Addition
of the possibility of two of more line numbers stored in one
JSONException object. New unit test to test behavior when
'allowDuplicates' is false.