Fix two bugs the tests surfaced

 * Fix Cannot use object of type Doctrine\DBAL\Driver\PDOStatement as array
 * Fix E_NOTICE: Undefined index: commit_time (should have been commit_date)
Add travis testing