Added support for JSONArray to be converted to List<?> or Set<?>

Similar to JSONObject convertToBean method, the JSONArray can be
converted to a List or Set of the appropriate typed objects.