Change __getitem__ in rapi.ref to take an int argument

(rather than size_t)
Reorganize read_batch tests
Split rapi_ref tests
Add bounds checking to rapi_get_read
Raise IndexError when trying to access reads beyond the read_batch