Prepare Query Bindings for Exception

Prepare query bindings (format DateTime etc.) before passing them to Illuminate\Database\QueryException, this will prevent the "Object of class DateTime could not be converted to string" error that occurs when query errors are encountered.
Merge pull request #4404 from AMHOL/patch-1

Prepare Query Bindings for Exception