[5.0] Ability To Set errorsKey For An Error Response

Resond of #6241
Remove empty brackets from log files

The current log files generated by Laravel all show empty brackets at the end of log files. We can remove these by using the $ignoreEmptyContextAndExtra parameter in the default Monolog LineFormatter.

http://stackoverflow.com/questions/13968967/how-not-to-show-last-bracket-in-a-monolog-log-line
Fixed routes with fragments in the URL
Allow to set default crypt cost factor
Separate Method and Uri in route:list command
Fire event before cache is cleared to allow tasks to be performed before hand

Signed-off-by: Ben James <in@benjam.es>
[5.0] Redirect User to Intended Url After Login

Redirect the logged in user to the intended URL if one exists instead of forcing her to go to the defined redirect path.

This nicely complements the `redirect()->guest('auth/login')` in the [Authenticate middleware](https://github.com/laravel/laravel/blob/develop/app/Http/Middleware/Authenticate.php#L44).
Cache\FileStore::flush does nothing if the cache root directory doesn't exists
add useWritePdo for select query
add onWrite method to let Model use write pdo for selecting
add test cases
Add Caron to require-dev
Fixed port separator in DSN when using dblib with PDO in sql server connector
Removed a repeated word
Moved patchwork/utf8 to require
CS fixes

Signed-off-by: Graham Campbell <graham@mineuk.com>
CS fixes

Signed-off-by: Graham Campbell <graham@mineuk.com>
Fix composer autload dumping for commands
Changed type hint
Merge pull request #6603 from xsbeats/bugfix/dump-autoload

[5.0] Fix Composer Autoload Dumping For Commands