[4.2] Log Failed Jobs Exceptions

This fixes issue #6203.

Recreated since this pull got foobar-ed. https://github.com/laravel/framework/pull/6466