Update PrettyExceptions.php

Fixed the str_replace newline issue, added an additional newline to cause the last trace div to close, took out the PRE tags (no longer needed), added some further formatting and the DOCTYPE