Allow objects to be passed to Writer::insertOne()

Add isValidArray to AbstractCSV. Check if variable is an object and implements toArray()
Add isValidArray($row) check to allow $objects to be converted to an array
Add testInsertObjectWithToArray() to WriterTest