Implement JSONObject.fromJson() with unit tests

Gson has an API method <T> fromJson(String, Class<T>), which converts a JSON doc to an instance of class T.
JSON-Java should have a similar capability.
New unit tests to thoroughly exercise the functionality should be included.