Reworked gem dependencies to get them to work.
Added limit and offset to select query, if provided.
Added Salesforce hard-limit cap on limit parameter in queries.