Speedup database operations

Adds a new optional property "batchSize" (defaults to one) to check-data’s --db-properties and allows ruleIsMarkedHidden to work with non-scrollable resultsets.

Using batches will speedup inserts dramatically with almost every driver.