Updates to support integration with the data import library.

Functions to generate batches by day.
Functions to import data from csv for meetup and amazon.
Trigger functions to autocreate jobs when new batches are generated.
Trigger functions to automatically rollback imported transactions when job status changes from "completed."