Fix local environment to reference database correctly, and to detect localhost sans :8000.
Add forced word wrapping to long messages in the show-paste <pre>'s.

For example, this message pushed outside the bounds of the <pre>s:

Illegal offset type

/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php

This new change forces even that long line to wrap within the <pre>.