Minor fixes

- Fixing `data.batch()` when it receives nothing by passing an empty Array instead of `false` (which likely breaks promises)
- Fixing promises within `data.batch()` (added a throw)
- Fixing duplicate records created by `data.set()` when called from `data.batch()`, when the Array contains dupes
- Standardizing on internal function names for specific cases