IndexOutOfBoundsException, JSONArray#remove(int)

`List#remove(int)` throws an `IndexOutOfBoundsException` when index < 0 or index >= list size. The `JSONArray#remove(int)` method was not making the proper check on the index value. Method now behaves as documented.