Closes #93: Add DBQuery.shellBatchSize to locals.

Additionally added the associated test.