Cursor methods

 - Merged branch 'connection-instances'
 - Methods implemented so far: limit, skip, sort and toArray
 - Delayed query execution
    - Only executed when the cursor is used (Cursor.hasNext())
 - Cursor methods change the cursor in place, and then return it