Added extensive tests for json_array
Added iterator erase for array