fixed offset in sendall
added ruby cursor test to full_test
removing unnecessary handling of -1 token from ruby driver
don't close a closing connection in the javascript driver