Foreign key test for dangling commit_files
Using bulk importing on Git Log loader

Significantly speeds things up by doing bulk inserts every 500 records.
Also:

* Whitespace change to the Ruby convention of 2 spaces
* Other cleanup of documentation and whitespace
* Added the new gem too