Ported Add getLimit() and getBatchSize() to DBCursor

JAVA-1530