Several minor bug fixes and updates in this one:
- Fixed a race condition where a scraping session could potentially get started by two different threads.
- DataManager: a few logging changes
- DataManager: a modification of the order of database writes when foreign keys are manually set
- DataManager: transactional support for rolling back writes
- DataManager: a framework for making data assertions
- Fixed an issue exporting large scripts that call session.executeScript.